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

"pip install --pre mesa[viz]" doesn't work #2498

Closed
yssysu opened this issue Nov 12, 2024 · 7 comments · Fixed by #2508
Closed

"pip install --pre mesa[viz]" doesn't work #2498

yssysu opened this issue Nov 12, 2024 · 7 comments · Fixed by #2508
Labels
docs Release notes label

Comments

@yssysu
Copy link

yssysu commented Nov 12, 2024

I can't use this command to install 'SolaraViz'

i first installed the 'mesa', without doing anything, just 'import mesa' and run, something went wrong , like this:Could not import SolaraViz. If you need it, install with 'pip install --pre mesa[viz]', then I tried the command at the computer terminal, then it told me that :
user % pip install --pre mesa[SolaraViz]
zsh: no matches found: mesa[SolaraViz]

i have tried the command "pip install -U --pre mesa[all]", it report an error as above.

zsh: no matches found: mesa[all]

I have uninstalled and tried again several times, but the problem still hasn't been resolved after watching the tutorial, so I submit the issue.

My computer system is Mac 2022 M2 15Sequoia.

@yssysu
Copy link
Author

yssysu commented Nov 12, 2024

use python = 3.10

@quaquel
Copy link
Member

quaquel commented Nov 12, 2024

This is a Mac issue. Put mesa[rec] between quotes. Like this "mesa[rec]".

@yssysu
Copy link
Author

yssysu commented Nov 12, 2024

This is a Mac issue. Put mesa[rec] between quotes. Like this '"mesa[rec]"'.这是 Mac 的问题。将 mesa[rec] 放在引号之间。就像这个“mesa[rec]”。

Great!, it works! Thanks for answering.

@quaquel
Copy link
Member

quaquel commented Nov 12, 2024

It might be an idea to just add this explicitly to the docs.

@quaquel quaquel added the docs Release notes label label Nov 12, 2024
@EwoutH
Copy link
Member

EwoutH commented Nov 12, 2024

Agreed, weird that it doesn't work on macOS but also doesn't harm.

@quaquel
Copy link
Member

quaquel commented Nov 12, 2024

The issue is with the terminal used on mac. See e.g., here.

@yssysu
Copy link
Author

yssysu commented Nov 12, 2024

And I have something strange to say , even i didn't install the specific one, it can be run on Jupyter, however ".py" can't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Release notes label
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants