如何解决我无法使用Anaconda安装Tensorflow和Keras
我刚安装了蟒蛇的个人版。之后,我立即进入基本(根)环境来安装tensorflow和keras,因为我在项目中需要它们,但不幸的是我无法安装它们。
通过手动尝试通过anaconda导航器应用程序安装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员工会提供此建议。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。