Python,PyCharm,Ancaconda的安装
2022/9/17 1:17:23
本文主要是介绍Python,PyCharm,Ancaconda的安装,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
安装的步骤
-
安装python 解释器
-
python3.4以后的版本会自带pip工具(库管理工具)不用再手动安装
-
安装PyCharm 编辑器
-
Ancaconda 版本管理(可以不安装)
可以只安装PyCharm和Ancaconda,Ancaconda会自带解释器
在本文章中用到的对应版本的软件和脚本
链接:https://pan.baidu.com/s/18z0ZC92-Ygy9OZ6-P3Qd1w
提取码:a2ah
Python3.9环境搭建
官网:https://www.python.org
我选择的版本如下,可以自由行选择
下载完双击运行,第一个是自动安装(怕麻烦可以选但是不建议),第二个是自定义安装,下方勾选会自动添加环境变量
选择自定义安装
点击next 来到以下界面 注意勾选红框,以及选择安装位置,点击Install
点击红框,是限制环境变量的长度,然后关闭
检查环境变量
在cmd检测是否正确安装
PyCharm安装
官网:https://www.jetbrains.com/pycharm/download/#section=windows
我下载的是2022.2.1
下载之后双击运行,选择安装目录
安装需求自行勾选
下载补丁,打开pycharm安装目录下的bin的下图文件,用记事本打开
增加以下代码,要修改成自己的补丁路径
# 引用补丁,开头必须以 -javaagent: 开头,后面跟着补丁的绝对路径(可根据你实际的位置进行修改),注意路径一定要填写正确,且不能包含中文,否则会导致 Pycharm 无法启动 -javaagent:D:/ja-netfilter/ja-netfilter.jar # 最新 Pycharm 版本需要添加下面两行,否则会报 key valid --add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED --add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED
保存之后重启PyCharm
输入激活码 点击Activate
VAE9B0CRYZ-eyJsaWNlbnNlSWQiOiJWQUU5QjBDUllaIiwibGljZW5zZWVOYW1lIjoiZnV6emVzIGFsbHkiLCJhc3NpZ25lZU5hbWUiOiIiLCJhc3NpZ25lZUVtYWlsIjoiIiwibGljZW5zZVJlc3RyaWN0aW9uIjoiIiwiY2hlY2tDb25jdXJyZW50VX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4JU23ozdB/R5oUlebwaTE6WZNBs+TA/qPj+5/we9NH71WRB0hqUoLI2AKKyiPw++FtN4Su1vsdDlrAzDj9ILjpjJKA1ImuVcG329/WTYIKysZ1CWK3zATg9BeCUPAV1pQy8ToXOq+RSYen6winZ2OO93eyHv2Iw5kbn1dqfBw1BuTE29V2FJKicJSu8iEOpfoafwJISXmz1wnnWL3V/0NxTulfWsXugOoLfv0ZIBP1xH9kmf22jjQ2JiHhQZP7ZDsreRrOeIQ/c4yR8IQvMLfC0WKQqrHu5ZzXTH4NO3CwGWSlTY74kE91zXB5mwWAx1jig+UXYc2w4RkVhy0//lOmVya/PEepuuTTI4+UJwC7qbVlh5zfhj8oTNUXgN0AOc+Q0/WFPl1aw5VV/VrO8FCoB15lFVlpKaQ1Yh+DVU8ke+rt9Th0BCHXe0uZOEmH0nOnH/0onD
仅供学习使用!!!
也可以去官网申请学生版
Anaconda安装(可以暂时不安装)
会自带有解释器
官网:https://www.anaconda.com/products/distribution
也可以去镜像网址下载会快很多
双击启动
选择安装目录
红框是将Anaconda添加到环境变量
耐心等待安装完成
取消勾选,安装完成
这篇关于Python,PyCharm,Ancaconda的安装的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-12-27Python编程基础教程
- 2024-12-27Python编程基础指南
- 2024-12-24Python编程入门指南
- 2024-12-24Python编程基础入门
- 2024-12-24Python编程基础:变量与数据类型
- 2024-12-23使用python部署一个usdt合约,部署自己的usdt稳定币
- 2024-12-20Python编程入门指南
- 2024-12-20Python编程基础与进阶
- 2024-12-19Python基础编程教程
- 2024-12-19python 文件的后缀名是什么 怎么运行一个python文件?-icode9专业技术文章分享