【发布时间】:2020-11-16 12:41:21
【问题描述】:
我刚刚更新了最新的 MacOS,它清除了所有内容。
我按照this website的步骤进行操作。
我开始使用 pip3 重新安装 tensorflow,但它没有安装任何东西。
我在输入 pip3 install --user --upgrade tensorflow 时收到此错误。
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
仅供参考,我的 MacBook 是 64 位的。 和
~ pip3 -V
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
pip 20.2.4 from /Users/zack/Library/Python/3.8/lib/python/site-packages/pip (python 3.8)
~ python3 -V
Python 3.8.2
我不知道发生了什么,有人有什么想法吗。
【问题讨论】:
-
您好,您可以运行
pip3 -V和python3 -V吗? -
@pavelbere 我刚刚更新了。
-
python3 -c "from pip._internal.utils.compatibility_tags import get_supported; print(get_supported()[0])"的输出是什么?确实可能是因为大的sur更新;我将我的 macbook 的升级至少推迟到 2.4.0 发布。
标签: tensorflow pip