安装googledatastore时出错

时间:2014-03-10 11:11:39

标签: pip google-compute-engine google-cloud-datastore

更新Murhpy的法律,你发布

之后的答案

解决方案是:pip install --pre googledatastore

我会保留这个问题,因为我在谷歌搜索中没有找到这个,这里是我的来源。它不是一个重复但是很接近

解决方案来源: Could not find a version that satisfies the requirement pytz


我正在尝试使用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

在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

任何想法都将不胜感激

2 个答案:

答案 0 :(得分:3)

解决方案是:pip install --pre googledatastore

我会保留这个问题,因为我在谷歌搜索中没有找到这个,这里是我的来源。它不是一个重复但是很接近

解决方案来源:Could not find a version that satisfies the requirement pytz

答案 1 :(得分:1)

可能不在话题,但您可能对gcloud-pythondocumentation)感兴趣。