-
Notifications
You must be signed in to change notification settings - Fork 132
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
setup.py does not work on Amazon Linux with python27 installed #2
Labels
Comments
Installing python27-pip package fixes the issue Issue:
Resolution:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried running setup.py on Amazon Linux 4.4.19-29.55.amzn1.x86_64, but received the following warning:
This seems to happen because my system python is 2.7.12, which was installed as a dependency of
aws-cli
, but the package that resolves forpython-pip
is actuallypython27-pip
:This means that setup.py is run by python27, which uses python26-pip to install requests, leaving the latest version of requests unavailable. My python27 interpreter is using requests-1.2.3 from
/usr/lib/python2.7/dist-packages/
, which is why the warning I received was about thetimeout
parameter instead of a failed import.Maybe a better way would be to just use pip from setup.py:
The text was updated successfully, but these errors were encountered: