我正在尝试使用pip(我通过Anaconda获得;请参阅下面的版本信息)来安装名为HTML.py的Python包
此软件包的名称至少有两个不寻常的功能:
我似乎无法安装该软件包。运行pip install HTML.py
不起作用,如果我放弃.py
点继续安装另一个包,则会将其命名为html
。
我可以获得pip来安装我想要的软件包吗?
63-176-57-107:~ kuzzooroo$ pip search HTML.py
HTML.py - A Python module to easily generate HTML code
(tables, lists, ...). See
http://www.decalage.info/python/html for more
information.
odt2html.py - Basic .odt to .html command line converter
63-176-57-107:~ kuzzooroo$ pip install HTML.py
Downloading/unpacking HTML.py
Could not find any downloads that satisfy the requirement HTML.py
Cleaning up...
No distributions at all found for HTML.py
Storing complete log in /Users/kuzzooroo/.pip/pip.log
63-176-57-107:~ kuzzooroo$ pip install HTML
Downloading/unpacking HTML
Downloading html-1.16.tar.gz
Running setup.py egg_info for package HTML
Installing collected packages: HTML
Running setup.py install for HTML
Successfully installed HTML
这是我正在使用的Anaconda版本:
Python 2.7.6 |Anaconda 1.8.0 (x86_64)| (default, Nov 11 2013, 10:49:09)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Imported NumPy 1.7.1, SciPy 0.13.0, Matplotlib 1.3.1
Type "scientific" for more details.
顺便说一句,对我来说,pip适用于其他套餐。
答案 0 :(得分:2)
我认为这不是pip的问题。如果您转到HTML.py(https://pypi.python.org/pypi/HTML.py/0.04)的PyPi页面,会引导您进入http://www.decalage.info/python/html的下载页面。
但是,该页面上没有可下载的软件包,并且作者的BitBucket帐户没有列出HTML.py回购。
我认为无论出于何种原因,作者已经取消了这个包,但还没有更新PyPi。