Python 及 Pycharm 的安装 2023.8

Python 及 PyCharm 的安装

仅适用于 Windows 系统!

视频教程:【Python及Pycharm的安装 2023.8】 https://www.bilibili.com/video/BV1A34y1T7Gu

安装 Python

  1. 进入 Python 官网 https://www.python.org/,点击 DownloadsWindows
    Python 官网
  2. 选择合适的版本下载,一般是最新版的 Download Windows installer (64-bit)
    Python 下载选择
  3. 运行安装包,勾选 Add python.exe to PATH,点击 Install Now
    Python 安装

安装 PyCharm

  1. 访问 JetBrains 官网 PyCharm 下载页面:https://www.jetbrains.com/zh-cn/pycharm/download/ 下载 PyCharm Community Edition(社区版) 安装程序。
    PyCharm 社区版下载

  2. 启动安装程序,点击 Next >
    PyCharm 安装1

  3. 选择安装位置(可选),点击 Next >
    PyCharm 安装2

  4. 根据需要,可勾选 Creat Desktop Shortcut → PyCharm Community Edition(创建桌面快捷方式)Add “Open Folder as Project”(增加“使用 PyCharm 打开项目右键菜单”),点击 Next >
    PyCharm 安装3

  5. 点击 Next >
    PyCharm 安装4

  6. 点击 Finish 完成 PyCharm 安装
    PyCharm 安装5

Hi, PyCharm

使用 PyCharm 运行 “Hi, PyCharm”

  1. 第一次打开 PyCharm,勾选 I confirm that I have read and accept the terms of this User Agreement(我确认我已阅读并接受本用户协议的条款),点击 Continue(继续)。之后的页面下面的两个按钮随便点一个。
    PyCharm 使用1
    PyCharm 使用2

  2. 点击 New Project(新建项目)
    PyCharm 使用3

  3. 可在 Location(位置) 中更改项目名称、保存路径。

    添加本地解释器:Previously configured interpreter(先前配置的 Python 解释器)Add Interpreter(添加解释器)Add Local Interpreter(添加本地解释器)System Interpreter(系统解释器) → 在 Interpreter(解释器) 中选择本地安装的 Python → OK(确定)
    Create(创建)
    在这里插入图片描述
    PyCharm 使用5

  4. 单击右上方绿色小三角 Run ‘main’(运行 ‘main’),下方显示输出 Hi, PyCharm
    在这里插入图片描述

PyCharm 汉化

  1. 随便打开或新建一个项目,找到 File(文件)Setting…(设置…)
    PyCharm 汉化1

  2. Plugins(插件)Marketplace → 在搜索框中输入 Chinese → 找到 Chinese (Simplified) Language Pack / 中文语言包 → 点击 Install(安装)

    等下载安装完成后点击 Restart IDE(重启 IDE),完成汉化
    PyCharm 汉化2


2023.8 by 小喾苦

  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值