[英]Unable to install Tensorflow in Pycharm
I am trying to install TensorFlow in my PyCharm IDE, but I have been struggling for over 3 days without success.我正在尝试在我的 PyCharm IDE 中安装 TensorFlow,但我已经挣扎了 3 天以上没有成功。
Do I need Anaconda in order to install TensorFlow?我是否需要 Anaconda 才能安装 TensorFlow? If yes, then how do I get it for an earlier version of python?如果是,那么我如何获得 python 的早期版本? I can only get it for python 3.9, which I heard isn't compatible with TensorFlow yet.我只能为 python 3.9 获得它,我听说它与 TensorFlow 不兼容。
Every time I try to install TensorFlow it says:每次我尝试安装 TensorFlow 时它都会说:
ERROR: Could not find a version that satisfies the requirement tensorflow==2.4
ERROR: No matching distribution found for Tensorflow
Note: I have already tried in PyCharm going to the Python interpreter and installing 2.4.0 it keeps giving me the same error as always.注意:我已经尝试在 PyCharm 中转到 Python 解释器并安装 2.4.0 它总是给我与往常一样的错误。
You don't have to install Anaconda in order to install Tensorflow .您不必安装Anaconda即可安装Tensorflow 。
For installing tensorflow just try this in command-line:要安装tensorflow ,只需在命令行中尝试:
$ python -m pip install tensorflow
And if you get error for no matching distribution :如果你因为没有匹配的分布而出错:
Check this and try again.检查并重试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.