使用 pip 安装 Tensorflow 时不兼容的包
Imcompatible packages when installing Tensorflow using pip
我尝试在 PowerShell 中使用此行安装 Tensorflow(作为管理员):
pip install tensorflow
但收到此错误:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
astroid 2.3.2 requires six==1.12, but you have six 1.15.0 which is incompatible.
astroid 2.3.2 requires wrapt==1.11.*, but you have wrapt 1.12.1 which is incompatible.
此外,我尝试使用 pip uninstall six wrapt
和 运行 pip install tensorflow
再次卸载 six
和 wrapt
,但仍然出现与上述相同的错误。
提前致谢!
我正在打开 Anaconda Navigator,所以我关闭它并再次打开 PowerShell,运行 安装命令,它顺利进行,没有进一步的错误。
我尝试在 PowerShell 中使用此行安装 Tensorflow(作为管理员):
pip install tensorflow
但收到此错误:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. astroid 2.3.2 requires six==1.12, but you have six 1.15.0 which is incompatible.
astroid 2.3.2 requires wrapt==1.11.*, but you have wrapt 1.12.1 which is incompatible.
此外,我尝试使用 pip uninstall six wrapt
和 运行 pip install tensorflow
再次卸载 six
和 wrapt
,但仍然出现与上述相同的错误。
提前致谢!
我正在打开 Anaconda Navigator,所以我关闭它并再次打开 PowerShell,运行 安装命令,它顺利进行,没有进一步的错误。