Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run first test in venv: bash run.py #199

Open
kwmartin opened this issue Aug 12, 2024 · 2 comments
Open

Can't run first test in venv: bash run.py #199

kwmartin opened this issue Aug 12, 2024 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@kwmartin
Copy link

Where is the problem?

https://docs.modular.com/max/get-started

What can we do better?

Running under Ubuntu 22.04 with Python3.10
from max import engine
ImportError: cannot import name 'engine' from 'max'

Anything else?

Also had:
def patched_checkToken(url, username, token, scope, False):
SyntaxError: invalid syntax
but changed "False" to state from googling to get rid of this error
Also running max -v in venv gives:
Command 'max' not found even though I had run pip install max
"Requirement already satisfied: max in /home/"redacted"/max-venv/lib/python3.10/site-packages (3.6)
and sys.path has '/home/"redacted"/max-venv/lib/python3.10/site-packages' as last element
It's always frustrating when the very first getting started example can't be run?

@kwmartin kwmartin added the documentation Improvements or additions to documentation label Aug 12, 2024
@ehsanmok
Copy link
Member

Looks like didn't complete all the steps here esp. step 4 seems missing. Note that we're going to offer much smoother installation experience soon so stay tuned!

@ehsanmok ehsanmok self-assigned this Aug 12, 2024
@ehsanmok
Copy link
Member

Did you manage to make it work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants