簡體   English   中英

我無法使用 anaconda 安裝 tensorflow 和 keras

[英]I can not install tensorflow and keras with anaconda

我剛剛安裝了個人版的 anaconda。 之后,我立即進入基礎(root)環境安裝 tensorflow 和 keras,因為我需要它們用於項目,遺憾的是我無法安裝它們。

通過手動嘗試通過 anaconda navigator 應用程序安裝 tensorflow,我收到以下錯誤

UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment: Specifications: - tensorflow -> python[version='3.5.*|3.6.*|3.7.*'] Your python: python=3.8 If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that. The following specifications were found to be incompatible with your CUDA driver: - feature:/win-64::__cuda==11.0=0 - feature:|@/win-64::__cuda==11.0=0 Your installed CUDA driver is: 11.0

我在嘗試安裝 keras 時遇到類似的錯誤。 從解釋我明白python 3.8不支持這些包? 在這種情況下,我該怎么辦? 我需要能夠使用這些庫。

任何幫助將不勝感激。 提前致謝!

我有一個類似的問題。 不得不回到python 3.7。 還有留言

Your installed CUDA driver is: 11.0

我相信不是參考您的 CUDA 版本,而是您的 GPU 卡的驅動程序。 查看已安裝的模塊並確保您使用的是 CUDA 10.1 和 cuDNN 7.6.5。 文檔在這里。 至於 GPU 驅動程序,我不得不訪問 Nvidia 網站並找到與 CUDA 10.1 兼容的舊驅動程序。 你會認為現在 Tensorflow 的人會提供這個建議。

暫無
暫無

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

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