python - 使用pip安装tensorflow时如何处理ERROR
问题描述
我正在尝试使用 pip 命令在 python 中安装 tensorflow
pip install --upgrade --ignore-installed tensorflow
并收到错误消息
ERROR: spyder 3.3.6 requires pyqt5<5.13; python_version >= "3", which is not installed.
ERROR: spyder 3.3.6 requires pyqtwebengine<5.13; python_version >= "3", which is not installed.
ERROR: astroid 2.3.1 requires typed-ast<1.5,>=1.4.0; implementation_name == "cpython" and python_version < "3.8", which is not installed.
ERROR: astroid 2.3.1 has requirement six==1.12, but you'll have six 1.15.0 which is incompatible.
ERROR: astroid 2.3.1 has requirement wrapt==1.11.*, but you'll have wrapt 1.12.1 which is incompatible.
那么我该如何安装它们呢?
解决方案
您是否已经安装了 tensorflow 版本?假设您在此处使用 --ignore-installed 选项......这显然会使 tensorflow 无法安装所需的依赖项。尝试不使用 --ignore-installed (它将覆盖现有安装并希望更新所有要求)
推荐阅读
- c# - 如何查找数字是否以 5 结尾?
- javascript - 如何在可重用的 React 组件库中捆绑 prop 类型
- c# - Azure Media Services Sound
- reference - UE4:我如何检测蓝图中的演员参考是否已被破坏?
- css - React CSS Modules:有什么理由不将所有 CSS 提取到静态文件中?
- cytoscape.js - 如何使用 cytoscape 在一个节点(不是渐变)上绘制多种颜色?谢谢
- r - 在 tmap 中指定大小图例的填充颜色
- android - Android设备上的Axios帖子给我网络错误
- javascript - 用 Sequalize 重命名 belongsToMany 关联
- python - 如何检查文件是否存在并在文件丢失时创建一个,而文件的路径不完整,如下所示