1、下载官网:https://www.jetbrains.com/pycharm/download/?section=windows
【注】:此版本为最新版本,如果想下载其他版本,请点击以下网址:https://www.jetbrains.com/pycharm/download/other.html
2、点击【Next】
3、点击【Browse】更换安装位置,点击【Next】
4、全部勾选,点击【Next】
5、点击【Install】
6、等待安装完成,点击【Finish】
7、环境配置:勾选确认协议,点击【Continue】
8、点击【Send Anonymous Statistics】
9、选中【Start Trial】,点击【Start Trial】
10、点击【Continue】
11、点击【New Project】
12、点击【Flask】,更换项目目录(不建议默认),选中第二个【Previously configured interpreter】,点击【Add Interpreter】,点击【Add Local Interpreter】
13、点击【Existing】,点击浏览(三个点)
14、找到Python安装目录下的python.exe,点击【OK】
15、点击【OK】
16、点击【Create】
17、等待加载完成,即可创建项目成功
18、安装pymysql库,点击红框中的图标,调出【Terminal】终端,输入以下命令,即可安装
pip install pymysql -i https://mirrors.aliyun.com/pypi/simple/
19、出现【Successfully unstalled】,即安装成功