Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
error in cryptography setup command: Invalid environment marker: python_version < '3' #31741
My system is Ubuntu 16.04 LTS
My python is:
I also have python 3.4.0 on my system.
Should I make an python alias so that it python defaults to python 3.4.0? But I think my streisandeffect install might need python 2.x to work. Thank you.
OS / ENVIRONMENT
Ubuntu 16.04 LTS
STEPS TO REPRODUCE
@mg0314a Greetings! Thanks for taking the time to open this issue. In order for the community to handle your issue effectively, we need a bit more information.
Here are the items we could not find in your description:
Please set the description of this issue with this template:
This is not a problem with ansible, and as the error mentions, this is with the cryptography python module. The resolution however is to update your version of python setuptools.
Should you want to open an issue, you would need to do so with https://github.com/pyca/cryptography
If you have further questions please stop by IRC or the mailing list:
Ok I can open an issue at https://github.com/pyca/cryptography. But FYI updating my version of python setuptools does not work, it produces this error:
distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_root/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-GkaN6_-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/cryptography
Here is the exception information from pip.log:
added a commit
Oct 16, 2017
I encountered the same problem when trying to install the