- 在pycharm中打开项目文件
- 确保安装python环境
此时是使用python3.7版本,没有的话需要添加环境:add interpreter

在anaconda(安装参考https://blog.csdn.net/m0_67357141/article/details/123633490)中选择基础环境(base),也可以选择envs文件夹下新建的环境

设置好环境后,点运行启动

3.设置命令行参数
右键运行文件,选择配置,可以设置命令行参数,格式--参数名称1 参数值1 --参数名称2 参数值2


4.debug
在main中想要停止的语句前打个红点,选择debug模式运行

往下继续运行一行代码;跳入此行所涉及的函数;跳到下一个断点
5.解决报错
可以在github中找到源码,查看issues