【无标题】

安装anaconda+配置环境+tensorflow及各种踩坑问题的解决全过程汇总!!!

首先,比较全面和基础的安装方法:https://blog.csdn.net/fan18317517352/article/details/123035625(选择用镜像网站,速度快)

其次,开始处理坑。
1.安装完成打不开anaconda,
解决方法1(本人未解决):https://blog.csdn.net/weixin_37823499/article/details/117394358?app_version=5.6.0&code=app_1562916241&csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22117394358%22%2C%22source%22%3A%22m0_51770249%22%7D&uLinkId=usr1mkqgl919blen&utm_source=app
解决方法2(本人未解决):https://blog.csdn.net/weixin_44842748/article/details/116002812?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-116002812-blog-90740463.pc_relevant_default&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-116002812-blog-90740463.pc_relevant_default&utm_relevant_index=2
解决方法3(本人已解决):https://blog.csdn.net/tanmx219/article/details/88069375

2.多次打开anaconda显示There is an instance of anaconda navigator already running error,
解决方法:https://blog.csdn.net/weixin_42435145/article/details/90740463

3.记住:Anaconda安装的第三方包,具体在安装的位置的site-packages文件夹下面。

现在,开始创建和配置环境。
Anaconda配置清华镜像源:https://blog.csdn.net/qq_42324086/article/details/108868009

踩坑问题解决开始。
1.无论是anaconda还是pycharm里的终端都无法新建环境,
解决方法:https://blog.csdn.net/JJ1018RR/article/details/105395287

2.创建环境成功后,使用 conda activate 激活虚拟环境时报错,
解决方法:https://blog.csdn.net/lansebingxuan/article/details/122770380(在anaconda prompt里输入命令)

3.环境激活成功,但pycharm里还是加载不了新创建的环境为解释器,
解决方法:https://blog.csdn.net/weixin_44072535/article/details/116462951

4.设置解释器成功后,想使用tensorflow,在anaconda prompt里pip install tensorflow很慢,失败,
解决方法:https://blog.csdn.net/weixin_38109583/article/details/93376954

5.下载tensorflow速度快了,但是仍然报错,Cannot uninstall ‘wrapt’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.You are using pip version 10.0.1, however version 22.3 is available.You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.
解决方法:https://blog.csdn.net/a1456123a/article/details/115402289,升级pip版本

6.继续下载tensorflow,报错,ERROR: Cannot uninstall ‘wrapt’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
解决方法:https://blog.csdn.net/selfimpro_001/article/details/102484949

7.继续下载tensorflow,成功。

你可能感兴趣的:(python,tensorflow,pycharm)