No.2_Pycharm安装&Pycharm中文设置

本文介绍了如何从官方网站下载PyCharm 2021版本并进行安装,包括更改安装路径,设置环境变量。此外,还详细阐述了设置PyCharm为中文界面的步骤,包括进入设置菜单,搜索并安装中文插件,最后重启PyCharm使其生效。

1、到官网地址下载PyCharm2021版本

https://www.jetbrains.com/pycharm/download/#section=windows

2、双击安装,更改安装路径,建议安装C盘以外位置,修改好以后,点击Next进行下一步;

3、根据需要勾选选项,除了”Add launchers dir to the ”选项必须勾选,其他的选项根据需

根据需要勾选,

4、点击”Install“

5、点击”Finish“,即表示安装完成

6、检查环境变量,右键我的电脑,属性,选择高级系统设置,点击环境变量,可以查看到path选项下已经设置了环境变量;

D:\python\python3.12.5\python.exe "D:/python/pycharm2024.2.1/PyCharm Community Edition 2024.2.1/plugins/python-ce/helpers/pycharm/_jb_pytest_runner.py" --path "D:\python\pycharm2024.2.1\PyCharm Community Edition 2024.2.1\xianmu\测试03\PoTest\tset\test_Add.py" Testing started at 16:33 ... Launching pytest with arguments D:\python\pycharm2024.2.1\PyCharm Community Edition 2024.2.1\xianmu\测试03\PoTest\tset\test_Add.py --no-header --no-summary -q in D:\python\pycharm2024.2.1\PyCharm Community Edition 2024.2.1\xianmu\测试03\PoTest\tset ============================= test session starts ============================= collecting ... collected 1 item test_Add.py::TestCourseAdd::test_add_course ======================== 1 failed in 98.83s (0:01:38) ========================= FAILED [100%] test_Add.py:18 (TestCourseAdd.test_add_course) self = <test_Add.TestCourseAdd testMethod=test_add_course> def test_add_course(self): # 登录操作 self.login_page.input_username("xnbfyn58") self.login_page.input_password("123456") sleep(5) self.login_page.click_login_button() > self.add_page.click_course_manage() test_Add.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ..\Page\AddPage.py:6: in click_course_manage elem = self.find_element(By.PARTIAL_LINK_TEXT,"课程管理") ..\Page\BasePage.py:10: in find_element return self.driver.find_element(by, value) D:\python\python3.12.5\Lib\site-packages\selenium\webdriver\remote\webdriver.py:888: in find_element return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] D:\python\python3.12.5\Lib\site-packages\selenium\webdriver\remote\webdriver.py:429: in execute self.error_handler.check_response(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x000001C91D41B860> response = {'status': 404, 'value': '
最新发布
03-08
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值