[英]I can't install Tensorflow library on my Computer [PYTHON]
I am trying the install Tensorflow lib with我正在尝试安装 Tensorflow lib
pip install tensorflow
but my computer gave me this message但是我的电脑给了我这个消息
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
I want to clarify, this answer is possibly incorrect due to the fact that I can not comment asking for clarification on versions.我想澄清一下,这个答案可能不正确,因为我无法评论要求澄清版本。 I do not have 50 reputation at present time.
我目前没有 50 声望。 If it does not work, I apologize.
如果它不起作用,我深表歉意。
Well there are two things that can be happening.那么有两件事可能会发生。 When I tested this, I was able to install Tensorflow using the same console command that you did.
当我对此进行测试时,我能够使用与您相同的控制台命令安装 Tensorflow。 Although I am running Python 3.8.3.
虽然我正在运行 Python 3.8.3。 Try updating python, and updating Pip.
尝试更新 python 和更新 Pip。
(To update pip, simply type " python -m pip install --upgrade pip
" and to update python, reinstall it.) (要更新 pip,只需键入“
python -m pip install --upgrade pip
”并更新 python,重新安装它。)
If that doesn't work, use Karthik's response of directly referencing the link to the repository of Tensorflow.如果这不起作用,请使用 Karthik 的直接引用链接到 Tensorflow 存储库的响应。 Command being - "
pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py3-none-any.whl
".命令是 - “
pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py3-none-any.whl
”。 Hopefully that helps.希望这有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.