pycharm里面可以运行,CMD中不能运行,报ImportError: No module named ‘config‘ 的错误

import sys

sys.path.append("D:/Code/python_code/学习/项目/接口测试_Pytest框架/POM设计模型/test01")

 

参考:

https://blog.csdn.net/FresHlkl/article/details/119490127

posted @ 2023-07-19 18:14  northli  阅读(31)  评论(0)    收藏  举报