4
我想安裝一個使用pip的python庫,它告訴我它需要setuptools,然後我嘗試安裝setuptools,儘管一切似乎都成功了,但它不能識別它已安裝。任何想法,我可能會在這裏失蹤?爲什麼setuptools安裝但仍無法識別?
$ sudo pip install gmusicapi
Downloading/unpacking gmusicapi
Downloading gmusicapi-7.0.0.tar.gz (147kB): 147kB downloaded
Cleaning up...
setuptools must be installed to install from a source distribution
Storing debug log for failure in /Users/.../Library/Logs/pip.log
$ sudo pip install setuptools
Downloading/unpacking setuptools
Downloading setuptools-18.3.2-py2.py3-none-any.whl (462kB): 462kB downloaded
Installing collected packages: setuptools
Successfully installed setuptools
Cleaning up...
$ sudo pip install gmusicapi
Downloading/unpacking gmusicapi
Downloading gmusicapi-7.0.0.tar.gz (147kB): 147kB downloaded
Cleaning up...
setuptools must be installed to install from a source distribution
Storing debug log for failure in /Users/..../Library/Logs/pip.log