-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
Cannot pipx
install Rye on Mac ARM
#690
Comments
After using the workaround linked above with the "inline constraint", running rye gives: ➜ rye init
Traceback (most recent call last):
File "/Users/au484925/.local/bin/rye", line 5, in <module>
from rye.__main__ import cli
File "/Users/au484925/.local/pipx/venvs/rye/lib/python3.11/site-packages/rye/__main__.py", line 4, in <module>
from settingscascade import SettingsManager
File "/Users/au484925/.local/pipx/venvs/rye/lib/python3.11/site-packages/settingscascade/__init__.py", line 2, in <module>
from settingscascade.manager import SettingsManager
File "/Users/au484925/.local/pipx/venvs/rye/lib/python3.11/site-packages/settingscascade/manager.py", line 4, in <module>
from jinja2 import Environment
File "/Users/au484925/.local/pipx/venvs/rye/lib/python3.11/site-packages/jinja2/__init__.py", line 33, in <module>
from jinja2.environment import Environment, Template
File "/Users/au484925/.local/pipx/venvs/rye/lib/python3.11/site-packages/jinja2/environment.py", line 15, in <module>
from jinja2 import nodes
File "/Users/au484925/.local/pipx/venvs/rye/lib/python3.11/site-packages/jinja2/nodes.py", line 19, in <module>
from jinja2.utils import Markup
File "/Users/au484925/.local/pipx/venvs/rye/lib/python3.11/site-packages/jinja2/utils.py", line 642, in <module>
from markupsafe import Markup, escape, soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/Users/au484925/.local/pipx/venvs/rye/lib/python3.11/site-packages/markupsafe/__init__.py) |
The install in the readme works well! Is pip install unsupported? |
pipx
install Rye on Mac ARM
rye on pypi is a completely different tool. The installation options are piping curl to bash or compile with cargo. Maybe a small warning is needed close to the installation instructions. |
Also, after you have installed rye, you no longer need pipx. :) |
Excellent, thanks! Unsure if this should stay open as a reminder, feel free to close 👍 |
Rye intentionally is not published to pypi as it intends on bootstrapping Python itself. This might change later, but for now this is very much intended. |
Steps to Reproduce
pipx install rye
Expected Result
Rye installed
Actual Result
It seems this is because of the
pyyaml
dependency having to be built, more details here.pipx logs
Version Info
Latest
Stacktrace
No response
The text was updated successfully, but these errors were encountered: