【问题标题】:Downloading/unpacking Error installing googledatastore下载/解压安装 googledatastore 时出错
【发布时间】:2014-04-13 11:03:02
【问题描述】:

我正在使用 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 google-compute-engine google-cloud-datastore


    【解决方案1】:

    解决办法是:pip install --pre googledatastore

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

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

    【讨论】:

      【解决方案2】:

      可能跑题了,但你可能对gcloud-python (documentation) 感兴趣。

      【讨论】:

        猜你喜欢
        • 2014-05-29
        • 1970-01-01
        • 2012-06-23
        • 1970-01-01
        • 2018-05-31
        • 1970-01-01
        • 2016-07-10
        • 2013-06-16
        • 2020-04-09
        相关资源
        最近更新 更多