简体   繁体   English

我无法在我的电脑上安装 Tensorflow 库 [PYTHON]

[英]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.

相关问题 我的电脑无法在 Python 3.8 上安装 pip - My computer can not install pip on Python 3.8 无法在 python 3.8 中安装 tensorflow - Can't install tensorflow in python 3.8 无法在 python3 中安装 TensorFlow 版本 1 - Can't install TensorFlow version 1 in python3 为什么我在我的计算机上使用两个单独的 python 构建,为什么我不能在两者上安装 selenium? - Why am I working with two separate python builds on my computer and why can I not install selenium on both? 我无法在 Jetson Nano 上安装 tensorflow - I can't install tensorflow on Jetson Nano 我无法安装 tensorflow 2.1.0 版本 - I can't install tensorflow 2.1.0 version 如何在我的计算机上安装 TensorFlow? Pip 安装不工作 - How do I get TensorFlow to install on my computer? Pip install is not working 我可以在Python 2和3上安装Tensorflow吗? - Can I install Tensorflow on both Python 2 and 3? 当我的计算机上有 Python 2、Python 3 和 Anaconda 时,如何控制将包安装到哪个 Python 发行版? - How can I control which Python distribution to pip install a package to when I have Python 2, Python 3, and Anaconda on my computer? 如何让我的gradle测试任务对不在maven central上的库使用python pip install? - How can I get my gradle test task to use python pip install for library that isn't on maven central?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM