install Tensorflow警告:scheme.scripts的值不匹配

2024-04-19 06:42:41 发布

您现在位置:Python中文网/ 问答频道 /正文

当我尝试安装Tensorflow时,会弹出以下警告;有没有关于如何解决这个问题的建议

WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: C:\Users\osazo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\Include\UNKNOWN
sysconfig: C:\Users\osazo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\Include
WARNING: Additional context:
user = True
home = None
root = None
prefix = None

Tags: noneincludepackageslocaltensorflowusersappdatawarning
1条回答
网友
1楼 · 发布于 2024-04-19 06:42:41

这是一个pip警告。您需要升级pip

python -m pip install pip==21.0.1

但是,正如前面提到的here,您可以忽略此类警告

First off, this specific class of warnings can be safely ignored. They were added to help pip's maintainers identify incorrectly patched/configured Python distributions provided by redistributors (eg: with your OS, or as part of $corp's VM/Docker images etc). You can read more about actionable steps for end-users, in this StackOverflow answer.

相关问题 更多 >