-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Changes to base.txt is breaking pip install on OSX #674
Comments
do you have the latest version of pip and setuptools? I'm not able to reproduce this yet. |
I was able to reproduce this when I was version setuptools version 18. I think you may have installed pip with easy_install and not have the latest version of setuptools. I'd suggest installing pip via
I was able to get aws-sam-cli to work with those steps, hope they are useful to you. But remember, that these are global installs and not isolated. I would very much recommend going the virtualenv route, so that you dont need to deal with this in future. |
This is a failure due to an old setuptools on the system. Upgrading your setuptools will solve this issue. Note: The PR you linked was not the cause since it has not been released yet. We have this same config in the current released version. Closing as it is an issue on the system/python and not directly SAM CLI. |
Recent fix for #671 is resulting in a broken install using Python 2.7 and Pip 18.0 on OSX.
$ pip install --user -e .
Obtaining file:///private/tmp/aws-sam/aws-sam-cli-0.6.0
Complete output from command python setup.py egg_info:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
coverage==4.3.4
error in aws-sam-cli setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected version spec in python_version<"3.4" at <"3.4"
The text was updated successfully, but these errors were encountered: