我正在通过使用 pip 1.5.4 的教程试用 googleDataStore
https://developers.google.com/datastore/docs/getstarted/start_python/
我在 Mac 上运行并卡在数据存储的安装上
virtualenv gcd
gcd/bin/pip install googledatastore
我得到一个错误
Downloading/unpacking googledatastore
Could not find a version that satisfies the requirement googledatastore (from versions: v1beta1-rev1-1.0.0, v1beta1-rev2-1.0.1, v1beta2-rev1-2.0.0, v1beta2-rev1-2.1.0)
Cleaning up...
No distributions matching the version for googledatastore
Storing debug log for failure in /Users/ryan/.pip/pip.log
在日志 ~/.pip/pip.log 中有相当多的内容,并以
结尾requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/req.py", line 1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/index.py", line 322, in find_requirement
raise DistributionNotFound('No distributions matching the version for %s' % req)
DistributionNotFound: No distributions matching the version for googledatastore
最佳答案
解决方法是:pip install --pre googledatastore
我会留下这个问题,因为我在我的谷歌搜索中没有找到这个是我的来源。它不是完全重复但很接近
解决方案来源:Could not find a version that satisfies the requirement pytz
关于pip - 下载/解压缩安装 googledatastore 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22298544/