大家好,欢迎来到IT知识分享网。
第一步 安装Anconda
![Python+Pycharm之环境搭建 for Win10插图1 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图3 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图5 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图7 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图9 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图11 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图13 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图15 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图17 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图19 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图21 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图23 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
到此显示Python版本号 代表已经安装成功
更新Python软件库(包)
打开Anaconda prompt(Anaconda3) 命令行输入以下命令更换清华源
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
继续输入以下代码更新所有库(初学者不建议更新,建议跳过此步直接建立一个新的环境当需要某个库的时候再安装也不迟)
conda update --all
![Python+Pycharm之环境搭建 for Win10插图25 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
然后输入 Y 按下回车 等待更新完所有库
y
创建自己需要的Python 环境 建议3.7 可以自己选择
![Python+Pycharm之环境搭建 for Win10插图27 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
打开图形化软件
![Python+Pycharm之环境搭建 for Win10插图29 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图31 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图33 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图35 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
选择自己需要的Python版本,可以按以上步骤创建多个隔离环境
至此,Ancona已安装完毕合适的Pyton环境也建立好了接下来配置Pycharm社区版
Pycharm 的安装及配置步骤
![Python+Pycharm之环境搭建 for Win10插图37 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图39 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图41 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图43 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图45 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图47 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图49 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图51 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图53 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图55 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
此图是重点90%的初学者都不知道原来这里还可以配置
![Python+Pycharm之环境搭建 for Win10插图57 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图59 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图61 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
Pycharm 配置及python文件的创建
![Python+Pycharm之环境搭建 for Win10插图63 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图65 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图67 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图69 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图71 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图73 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图75 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图77 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图79 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
![Python+Pycharm之环境搭建 for Win10插图81 Python+Pycharm之环境搭建 for Win10](https://yundeesoft.com/wp-content/uploads/2022/11/2022112316405970.jpg)
还有不清楚的可以私信我,下次开始写代码,中间遇到其它问题再讲解决办法记得更牢靠
免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://yundeesoft.com/56405.html