我无法“pip install prettytable”。安装它的最佳选择是什么?
% sudo pip -vvv install prettytable
Downloading/unpacking prettytable
Getting page https://pypi.python.org/simple/prettytable/
Could not fetch URL https://pypi.python.org/simple/prettytable/: 404 Client Error: Not Found
Will skip URL https://pypi.python.org/simple/prettytable/ when looking for download links for prettytable
Getting page https://pypi.python.org/simple/
URLs to search for versions for prettytable:
* https://pypi.python.org/simple/prettytable/
Getting page https://pypi.python.org/simple/prettytable/
Could not fetch URL https://pypi.python.org/simple/prettytable/: 404 Client Error: Not Found
Will skip URL https://pypi.python.org/simple/prettytable/ when looking for download links for prettytable
Could not find any downloads that satisfy the requirement prettytable
请您参考如下方法:
PyPI 上似乎没有可用的 prettytable 模块。 您可以从 https://code.google.com/p/prettytable/downloads/list 下载源代码然后安装模块。
pip install https://pypi.python.org/packages/source/P/PrettyTable/prettytable-0.7.2.tar.bz2
