ModularM
Modular3y ago
4 replies
Padjo

Failing to run MOJO examples (Benchmark Package run method missing?)

Hi everyone !

i was able to run Modular on my Ubuntu 22 WSL on Windows. Here i am trying to test the MOJO Example codes (especially the jupyter Notebooks) from https://github.com/modularml/mojo.git
But in every Notebook, something goes wrong :

in HelloMojo.pynb :
error: Expression [5]:24:17: keyword arguments are not supported yet
z = pow(exp=3, base=2) (attached photo 1)

in Mandelbrot.ipynb:
error: Expression [31]:33:31: package 'benchmark' does not contain 'run'
let vectorized = benchmark.runbench[simd_width].mean"ms"

Did i install an old version ? Do i have to wait and if so, why is it example code, when it doesnt run ?

i appreciate any help.

thank you
image.png
image.png
GitHub
The Mojo Programming Language. Contribute to modularml/mojo development by creating an account on GitHub.
GitHub - modularml/mojo: The Mojo Programming Language
Was this page helpful?