capless / warrant

Python library for using AWS Cognito. With support for SRP.
Apache License 2.0
467 stars 190 forks source link

Install warrant ERROR #159

Open qiaocy opened 3 years ago

qiaocy commented 3 years ago

pip install warrant ERROR: Command errored out with exit status 1: 'C:\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\pane\AppData\Local\Temp\pycharm-packaging\pycryptodome\setup.py'"'"'; file='"'"'C:\Users\pane\AppData\Local\Temp\pycharm-packaging\pycryptodome\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\pane\AppData\Local\Temp\pip-record-uojqqv1k\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Python37\Include\pycryptodome' Check the logs for full command output.

Installation error,How can I solve this problem?

michael-ym-zhang commented 3 years ago

same error here installing under windows 10, py 3.9 ERROR: Command errored out with exit status 1: 'c:\dev\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\username\\AppData\\Local\\Temp\\1\\pip-install-2qz5go90\\pycryptodome\\setup.py'"'"'; __file__='"'"'C:\\Users\\username\\AppData\\Local\\Temp\\1\\pip-install-2qz5go90\\pycryptodome\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\username\AppData\Local\Temp\1\pip-record-gqgz24b2\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\dev\python\python39\Include\pycryptodome' Check the logs for full command output.

I could install pycryptodome-3.10.1.dist-info but not pycryptodome-3.3.1 I dont think the issue is related to this package - but could we look update the dependency version

michael-ym-zhang commented 3 years ago

ok looks like to do with https://pycryptodome.readthedocs.io/en/latest/src/installation.html#windows-from-sources-python-3-5-and-newer

there is already a pr on this

simgagne commented 2 years ago

had it work using conda just use conda install ... package