【发布时间】:2019-01-16 18:34:04
【问题描述】:
我正在尝试使用 pipenv 安装 TensorFlow,但是安装总是失败。
我在 Windows 7 上使用命令提示符。
我尝试了以下 Pipfile 以及手动指定 tensorflow = "==1.11.0",但似乎没有任何效果。
这是我当前的 Pipfile:
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
[packages]
requests = "*"
pandas = "*"
scipy = "*"
seaborn = "*"
scikit-learn = "*"
tensorflow = "*"
[requires]
python_version = "3.6"
我收到的错误(运行pipenv install 后)是:
Installing dependencies from Pipfile.lock (a4b797)...
An error occurred while installing tensorflow==1.12.0 --hash=.....
.....! Will try again.
.....
[pipenv.exceptions.InstallError]: ['Could not find a version that satisfies the requirement tensorflow==1.12.0 .....']
ERROR: ERROR: Package installation failed...
如果有人可以帮助我,那就太棒了!
【问题讨论】:
标签: python-3.x tensorflow pipenv