pip - 下载/解压缩安装 googledatastore 时出错

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

我正在通过使用 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/

相关文章:

android - 将文件上传到谷歌云移动后端

python - 使用 pip v18.0 安装 Pillow (v5.2.0) 后没有名为 PIL 的模块

google-compute-engine - 如何在运行的 VM 实例中添加更多 CPU 内核和 RAM

python - 应用引擎与计算引擎 : django project

ssl - 如何为使用 nginx、gunicorn 和 flask 的 GCP 实例设置 SSL 证书?

java - 如果实体的祖先不存在,是否会创建它(Java API)?

mysql - 将数据从 MySQL 迁移到 Google App Engine (Python) 数据存储

r - 从 requirements.txt 文件安装 R 包

python - pip force reinstall in requirements.txt

macos - 安装 tensorflow 时出现错误 setuptools