newbie cant get numojo to work #248
Unanswered
sanjayvohra
asked this question in
Q&A
Replies: 2 comments 2 replies
-
@sanjayvohra , you can try changing the version of
Should solve the issue. |
Beta Was this translation helpful? Give feedback.
2 replies
-
@sanjayvohra, we have updated the NuMojo to v0.7.0 and fixed the issue. Would you try to install it using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ERROR:
mojo hello.mojo
/.magic/envs/default/lib/mojo/numojo.mojopkg:0:0: error: unknown attribute code: 36
hello.mojo:1:8: error: failed to materialize top-level module
import numojo as nm
^
mojo: error: failed to parse the provided Mojo source module
CODE:
import numojo as nm
from numojo.prelude import *
fn main():
# var x: Float64 = pi
ENV:
I used magic add numojo the .toml file is
[project]
channels = ["https://conda.modular.com/max-nightly", "https://conda.modular.com/max", "https://re
po.prefix.dev/modular-community", "conda-forge"]
name = "Bonet"
platforms = ["linux-64"]
version = "0.1.0"
[tasks]
[dependencies]
max = ">=25.4.0.dev2025051905,<26"
numojo = ">=0.6.1,<0.7"
NOTE:
I am a totally new even to python
Any help will be appreciated
Beta Was this translation helpful? Give feedback.
All reactions