-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
No module named 'setuptools_rust' for latest cryptography (35) #6411
Comments
The supported method for installing cryptography is with Using |
What about setups that require cryptography for |
@alex Also why isn't your wheel installed when installing with setup.py? (It grabs |
Does anyone even know why it fails with |
I don't think setuptools (easy_install) supports installing from wheels, or perhaps it's wheel support is somehow out of date. I'd make sure you're running the most recent version of setuptools. |
I did, one of the replication steps is |
setuptools' |
@tiran I actually just now tried the above replication steps with Again see my replication steps, I'm using latest versions of everything. |
I can't replicate this. |
This occurs when
cryptography
is required as a dependency.Steps
git clone https://github.com/microsoft/microsoft-bonsai-api
cd microsoft-bonsai-api/Python
python -m venv venv
source venv/bin/activate
python -m pip install -U pip
python -m pip install -U wheel
python -m pip install -U setuptools
python setup.py build
python setup.py install
Version
venv
Notes
pip install cryptography
by itself succeeds, however its dependency onsetuptools_rust
doesn't seem to be resolved correctly when cryptography is installed as a dependency (the normal use case) bysetup.py
.The text was updated successfully, but these errors were encountered: