簡體   English   中英

使用PipEnv安裝TensorFlow時出錯

[英]Error when Installing TensorFlow with PipEnv

我正在嘗試使用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...

如果有人可以幫助我,那就太好了!

問題是我安裝了32位版本的Python。 Tensorflow需要64位版本。

重新安裝后,我還需要通過pipenv --rm刪除舊的pipenv --rm

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM