安装Anaconda
下载64位的版本
下载地址:Free Download | Anaconda
![image.png](https://img-blog.csdnimg.cn/img_convert/0742a0cddb8b10a375394a26ad054d83.png)
点击Windows徽标后,页面会往下滚动,选择64位的安装包。
![image.png](https://img-blog.csdnimg.cn/img_convert/3565696823201c085f87d1ddeb456d7e.png)
安装步骤截图
第一步:
![image.png](https://img-blog.csdnimg.cn/img_convert/1201a7bdc79ed768726af1843743e2eb.png)
点击“Next”
![image.png](https://img-blog.csdnimg.cn/img_convert/f3ccdac040e0bdafa6b120553ce3711f.png)
点击“I Agree”
![image.png](https://img-blog.csdnimg.cn/img_convert/823003f52d59e12ea1d0365b3bb7d0e6.png)
选择“All Users(requires admin privileges)”,点击“Next”
![image.png](https://img-blog.csdnimg.cn/img_convert/b6d9e2dea52a1d37e78c79425fffb39d.png)
不要安装到C盘,修改完路径后点击“Next”
![image.png](https://img-blog.csdnimg.cn/img_convert/106d9c0979f96e6f4171d1a30970b2b2.png)
勾选上面两个就行,然后点击“Install”
![image.png](https://img-blog.csdnimg.cn/img_convert/faedeedae7b6395e5b26a9ae6221b282.png)
安装完成
![image.png](https://img-blog.csdnimg.cn/img_convert/2d1b4ba38b4a1baa11ed2782022642d7.png)
![image.png](https://img-blog.csdnimg.cn/img_convert/e29844d404a29743cd5c8c2130e0043b.png)
![image.png](https://img-blog.csdnimg.cn/img_convert/bee2aa19307c67d38c27c165e2f8d739.png)
安装完成,验证一下:
从开始菜单找到Anaconda的目录,点击Anaconda Prompt(Anaconda3)
![image.png](https://img-blog.csdnimg.cn/img_convert/86ef030774695743c0a0e7ce94c33960.png)
只要前面出现(base)就说明安装成功了
![image.png](https://img-blog.csdnimg.cn/img_convert/ba238d8d30bd5cb98145f122da9c3a91.png)
命令行输入python,然后回车,就可以看到python的版本了。
![image.png](https://img-blog.csdnimg.cn/img_convert/0f7a3c9727c1bbbd6a75e28c62c961cd.png)
OK,表示Anaconda安装成功了。
pip不是内部或外部命令的问题
Anaconda安装后cmd窗口下输入conda list显示conda不是内部或者外部命令的解决办法
![image.png](https://img-blog.csdnimg.cn/img_convert/7da5a0a67f0ee9c42ae42f6636579cb0.png)
遇到这种问题,就按照下面链接进行操作,在环境变量中增加3个路径就解决了。
Anaconda安装后cmd窗口下输入conda list显示conda不是内部或者外部命令的解决办法_为什么安装anaconda后,在cmd显示不出来_JoelinJL的博客-CSDN博客
环境变量中增加Scripts、Library\bin和Anaconda3的路径。
![image.png](https://img-blog.csdnimg.cn/img_convert/e8a99f3647538af7a4d7ed8714fe2e26.png)
matplotlib的配置
可能出现修改完无法保存的情况,这时候可以把matplotlibrc文件复制到其他地方进行修改,修改完保存后再复制进来,进行覆盖。
在Jupyter Notebook中输入命令,查找matplotlib所在的文件夹。
![image.png](https://img-blog.csdnimg.cn/img_convert/776cc981c6ceb59aaa6c97185027ba28.png)
找到这个文件
![image.png](https://img-blog.csdnimg.cn/img_convert/3fe168dc12170878f076b683613874bd.png)
用记事本打开配置文件进行编辑。
1、去掉“font.family: sans-serif”前面的#
![image.png](https://img-blog.csdnimg.cn/img_convert/3e15e3d9abe31d0cdae1f84bc87ef94a.png)
2、去掉“font.sans-serif:”前面的#,并且增加中文字体SimHei,
![image.png](https://img-blog.csdnimg.cn/img_convert/014235a8e55eee71b2897c76864bafd1.png)
3、把“axes.unicode_minus”前面的#去掉,把后面的True改成False
![image.png](https://img-blog.csdnimg.cn/img_convert/ae5c3758455383a2361dda97322d71ce.png)
4、从网上下载个字体放到fonts文件夹下的ttf文件夹即可
![image.png](https://img-blog.csdnimg.cn/img_convert/330f439df33b5e23ac40c87a80624c1c.png)
字体下载地址:
SimHei免费字体下载页 - 英文字体免费下载尽在字体家
5、去C盘找到缓存的目录给删掉
![image.png](https://img-blog.csdnimg.cn/img_convert/cb7ebf3f7ee5b2b6e5266606e6fe43d4.png)