Skip to content
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

Problem installing from setup.py #59

Open
BitResolution opened this issue Apr 14, 2020 · 1 comment
Open

Problem installing from setup.py #59

BitResolution opened this issue Apr 14, 2020 · 1 comment

Comments

@BitResolution
Copy link

Hi

I'm on Mac OS X 10.13 (and don't really want to upgrade if possible as it causes problems for other software) and python 2.7.16

When I try and execute the setup.py install part of the installation process I get the following error:

running install
Checking .pth file support in /Library/Python/2.7/site-packages/
/usr/bin/python -E -c pass
TEST PASSED: /Library/Python/2.7/site-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing requirements to spotify_ripper.egg-info/requires.txt
writing spotify_ripper.egg-info/PKG-INFO
writing top-level names to spotify_ripper.egg-info/top_level.txt
writing dependency_links to spotify_ripper.egg-info/dependency_links.txt
writing entry points to spotify_ripper.egg-info/entry_points.txt
reading manifest file 'spotify_ripper.egg-info/SOURCES.txt'
writing manifest file 'spotify_ripper.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.13-intel/egg
running install_lib
running build_py
creating build/bdist.macosx-10.13-intel/egg
creating build/bdist.macosx-10.13-intel/egg/spotify_ripper
copying build/lib/spotify_ripper/sync.py -> build/bdist.macosx-10.13-intel/egg/spotify_ripper
copying build/lib/spotify_ripper/tags.py -> build/bdist.macosx-10.13-intel/egg/spotify_ripper
copying build/lib/spotify_ripper/web.py -> build/bdist.macosx-10.13-intel/egg/spotify_ripper
copying build/lib/spotify_ripper/post_actions.py -> build/bdist.macosx-10.13-intel/egg/spotify_ripper
copying build/lib/spotify_ripper/ripper.py -> build/bdist.macosx-10.13-intel/egg/spotify_ripper
copying build/lib/spotify_ripper/init.py -> build/bdist.macosx-10.13-intel/egg/spotify_ripper
copying build/lib/spotify_ripper/eventloop.py -> build/bdist.macosx-10.13-intel/egg/spotify_ripper
copying build/lib/spotify_ripper/utils.py -> build/bdist.macosx-10.13-intel/egg/spotify_ripper
copying build/lib/spotify_ripper/progress.py -> build/bdist.macosx-10.13-intel/egg/spotify_ripper
copying build/lib/spotify_ripper/main.py -> build/bdist.macosx-10.13-intel/egg/spotify_ripper
byte-compiling build/bdist.macosx-10.13-intel/egg/spotify_ripper/sync.py to sync.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/spotify_ripper/tags.py to tags.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/spotify_ripper/web.py to web.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/spotify_ripper/post_actions.py to post_actions.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/spotify_ripper/ripper.py to ripper.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/spotify_ripper/init.py to init.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/spotify_ripper/eventloop.py to eventloop.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/spotify_ripper/utils.py to utils.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/spotify_ripper/progress.py to progress.pyc
byte-compiling build/bdist.macosx-10.13-intel/egg/spotify_ripper/main.py to main.pyc
creating build/bdist.macosx-10.13-intel/egg/EGG-INFO
installing scripts to build/bdist.macosx-10.13-intel/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.macosx-10.13-intel/egg/EGG-INFO/scripts
copying build/scripts-2.7/main.py -> build/bdist.macosx-10.13-intel/egg/EGG-INFO/scripts
changing mode of build/bdist.macosx-10.13-intel/egg/EGG-INFO/scripts/main.py to 755
copying spotify_ripper.egg-info/PKG-INFO -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying spotify_ripper.egg-info/SOURCES.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying spotify_ripper.egg-info/dependency_links.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying spotify_ripper.egg-info/entry_points.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying spotify_ripper.egg-info/not-zip-safe -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying spotify_ripper.egg-info/requires.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
copying spotify_ripper.egg-info/top_level.txt -> build/bdist.macosx-10.13-intel/egg/EGG-INFO
creating 'dist/spotify_ripper-2.9.1-py2.7.egg' and adding 'build/bdist.macosx-10.13-intel/egg' to it
removing 'build/bdist.macosx-10.13-intel/egg' (and everything under it)
Processing spotify_ripper-2.9.1-py2.7.egg
removing '/Library/Python/2.7/site-packages/spotify_ripper-2.9.1-py2.7.egg' (and everything under it)
creating /Library/Python/2.7/site-packages/spotify_ripper-2.9.1-py2.7.egg
Extracting spotify_ripper-2.9.1-py2.7.egg to /Library/Python/2.7/site-packages
spotify-ripper 2.9.1 is already the active version in easy-install.pth
Installing main.py script to /usr/local/bin
Installing spotify-ripper script to /usr/local/bin

Installed /Library/Python/2.7/site-packages/spotify_ripper-2.9.1-py2.7.egg
Processing dependencies for spotify-ripper==2.9.1
Searching for urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Reading https://pypi.python.org/simple/urllib3/
Best match: urllib3 1.25.8
Downloading https://files.pythonhosted.org/packages/09/06/3bc5b100fe7e878d3dee8f807a4febff1a40c213d2783e3246edde1f3419/urllib3-1.25.8.tar.gz#sha256=87716c2d2a7121198ebcb7ce7cccf6ce5e9ba539041cfbaeecfb641dc0bf6acc
Processing urllib3-1.25.8.tar.gz
Writing /tmp/easy_install-gbC7tK/urllib3-1.25.8/setup.cfg
Running urllib3-1.25.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-gbC7tK/urllib3-1.25.8/egg-dist-tmp-9JizVB
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
warnings.warn(msg)
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
error: Setup script exited with error in urllib3 setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.

Any help would be appreciated.

Thanks

@richardk80
Copy link

You might have already found the solution to your problem but I'll put this here for other people: sudo pip install --user --upgrade setuptools or sudo pip3 install --user --upgrade setuptools should fix that error. Which command you use depends on which version of python you're using. Sudo can be optional but you'll most likely need to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants