1.到anconda的官网下载并运行,一直next就可以了,中间是否添加环境变量那里我打了勾,第二个没打勾
2.打开CMD。输入conda -V查看版本;输入python,看是否成功安装,记得输入exit()退出python
3.继续执行命令conda create --name tensorflow python=3.8(我的是3.8,这里最好指定python版本,最开始我用pip install tensorflow,结果启动不了)
4.用conda activate tensorflow启动,成功即可
5.打不开navigator,jupyternotebook,spider等等,所以重装pyqt5, QtPy等包,用conda install 他们说找不到(ackagesNotFoundError: The following packages are not available from current channels: pyqt5),就用pip install成功了。
6.安装失败,运行安装目录下的 Uninstall-Anaconda3.exe
7.重新安装完后,并且默认配置了环境变量,先使用conda upgrade --all来升级所有包。
8.依然无法打开navigator,jupyterbook
解决:
1.图形界面根本没安装
pip uninstall PyQt5
WARNING: Skipping PyQt5 as it is not installed.
然后
pip install PyQt5
终于成功打开navigator了
2.但是又报错,也就是spyder打不开,
spyder 4.1.5 requires pyqtwebengine<5.13; python_version >= "3", which is