zhebrak / raftos

Asynchronous replication framework for distributed Python projects
MIT License
350 stars 58 forks source link

Problem with cryptography dependency and Python 3.6.9 #19

Closed mduret closed 9 months ago

mduret commented 4 years ago

the python environment:

mduret@blablabla:~/test$ virtualenv -p python3 venv
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/mduret/test/venv/bin/python3
Also creating executable in /home/mduret/test/venv/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
mduret@blablabla:~/test$ source venv/bin/activate
(venv) mduret@blablabla:~/test$ python -V
Python 3.6.9

the build and install method:

(venv) mduret@blablabla:~/test$ git clone https://github.com/zhebrak/raftos.git
Clonage dans 'raftos'...
remote: Enumerating objects: 193, done.
remote: Total 193 (delta 0), reused 0 (delta 0), pack-reused 193
Réception d'objets: 100% (193/193), 91.27 KiB | 540.00 KiB/s, fait.
Résolution des deltas: 100% (114/114), fait.
(venv) mduret@blablabla:~/test$ cd raftos/
(venv) mduret@blablabla:~/test/raftos$ python setup.py sdist && pip install $(ls -1 dist/*.tar.gz)

the error:

ERROR: Command errored out with exit status 1: /home/mduret/test/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tvkastfa/cryptography/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tvkastfa/cryptography/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-x5si42rf/install-record.txt --single-version-externally-managed --compile --install-headers /home/mduret/test/venv/include/site/python3.6/cryptography Check the logs for full command output.