【发布时间】:2016-06-10 11:38:02
【问题描述】:
我已使用 pip 安装了 aldryn-segmentation,并尝试按照文档建议使用 pip install https://github.com/aldryn/aldryn-country-segment/archive/master.zip 安装 aldryn-country-segment。
但是我收到一个错误,它找不到满足要求的版本 aldryn-geoip。
Collecting aldryn-geoip (from aldryn-country-segment==0.7.2)
Could not find a version that satisfies the requirement aldryn-geoip (from aldryn-country-segment==0.7.2) (from versions: )
No matching distribution found for aldryn-geoip (from aldryn-country-segment==0.7.2)
或者在下载文件并运行 python setup.py install 时,它给了我这个:(在很多其他文本之后)
Processing dependencies for aldryn-country-segment==0.7.2
Searching for aldryn-geoip
Reading https://pypi.python.org/simple/aldryn-geoip/
Couldn't find index page for 'aldryn-geoip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for aldryn-geoip
error: Could not find suitable distribution for Requirement.parse('aldryn-geoip')
是否有明显的解决方法?
【问题讨论】:
-
请添加输出的所有相关部分!
-
github.com/aldryn/aldryn-country-segment 有:
NOTICE This app will not work on Aldryn until Aldryn includes the MaxMind GeoIP C-API into their build pack.所以我不确定是否有解决方法还。 -
已添加输出。我看到了,但我认为这意味着你不能在 Aldryn 服务上使用它,但仍然在你自己的项目中使用它。据我了解,Aldryn 托管 DjangoCMS 项目,但这不是我使用它的目的。
-
尝试从 *.tar.gz 文件安装。不是点子方式。
-
@PouyaAbbassi 我在哪里可以找到这个包的 *.tar.gz?它还没有被添加到 pip 中,所以我一直在直接从 github 安装。
标签: python django python-2.7 pip django-cms