-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
pip install fails to install cryptography against internal PyPI mirror #1803
Comments
/cc @dstufft as the mysteries of setuptools/pip are beyond my ken. |
+ This is so that enum34 (dependency of cryptography) can be properly installed using an internal PyPI mirror (See: pyca/cryptography#1803)
Most likely you're not pointing setuptools at your internal index as well, for |
+ This is so that enum34 (dependency of cryptography) can be properly installed using an internal PyPI mirror (See: pyca/cryptography#1803) + Removed six from requirements-dev.txt + Bumped version to differentiate these underlying changes.
Is it necessary to list all of your install_requires in setup_requires? Currently they are the same list of dependencies. We've circumvented this by just explicitly listing Feel free to close this if it's just expected to be circumvented by the user. Since you seem to be more familiar with pip/setuptools than me, do you have any input on how to point setuptools at the index through the pip command line? |
In general? No you don't need to list them all. Cryptography does because of the way that cffi currently works. There's no CLI method that I'm aware of for settings the index, there is a config file in the current user's home directory though. |
Alright, thanks for the input! I'll go ahead an close this. |
I couldn't find right Ansible package for RedHat Linux 6.9, Tried to make rpm by myself but getting errors: Installed /usr/lib/python2.6/site-packages/ansible-2.5.0-py2.6.egg Please help. |
I can browser this http://pypi.python.org/simple/cryptography/ and disabled firewall but make rpm still doesn't work |
Is there epel-release-6-9.noarch.rpm which has the Ansible 2.x? |
You are using a version of pip and/or setuptools that is too old. See https://mail.python.org/pipermail/distutils-sig/2017-October/031712.html for more details. |
I install/build my packages off of an internal mirror. For most packages this works fine, however the cryptography project seems to reach out to the internet to find its dependencies.
If you install the dependencies from the mirror first then the package installs fine:
The text was updated successfully, but these errors were encountered: