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

error on installation #1

Closed
rcdosado opened this issue Apr 13, 2021 · 1 comment
Closed

error on installation #1

rcdosado opened this issue Apr 13, 2021 · 1 comment

Comments

@rcdosado
Copy link

pip install -r requirements.txt giving me this error:
"""
Traceback (most recent call last):
File "", line 1, in
File "C:\Users<USER>\AppData\Local\Temp\pip-build-1kujwf04\cryptography\setup.py", line 14, in
from setuptools_rust import RustExtension
ModuleNotFoundError: No module named 'setuptools_rust'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users<USER>\AppData\Local\Temp\pip-build-1kujwf04\cryptography\

"""

i'm using windows 10, python 3.6

@mohammadfayaj
Copy link
Owner

mohammadfayaj commented Apr 14, 2021

I tested it in my machine.It just worked fine. So there is no error in code or requirements.txt file.
You can try this steps :

  1. python3 -m pip install --upgrade pip --target /usr/lib64/az/lib/python3.6/site-packages/
  2. pip install setuptools-rust and
  3. if it don't work try to remove cryptography==3.4.7 from requirements.txt

This might be helpful for you Azure/azure-cli#16858

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

No branches or pull requests

2 participants