安装Anaconda3-2021.05-Windows-x86_64后,再pipinstall tensorflow2.6.0的时候出现下述错误:
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.
spyder 4.2.5 requires pyqt5<5.13, which is not installed.
spyder 4.2.5 requires pyqtwebengine<5.13, which is not installed.
conda-repo-cli 1.0.4 requires pathlib, which is not installed.
anaconda-project 0.9.1 requires ruamel-yaml, which is not installed.
但import tensorflow 没有问题。
另外:
安装pytoch可参考:(24条消息) Python3.8安装CPU版本Pytorch(实用安装教程)_Greif_HairLine的博客-CSDN博客
conda 安装本地包:condainstall --use-local