1,新建项目时,一定要将这2个选项勾选上

右击此文件夹选择mark directory as,再点cancel exclusion即可,如下截图:

pycharm中Mark Directory as 成 sources root (同文件夹下from ..import提示找不到) (ngui.cc)
python自动化测试,读取excal数据报"'str' object has no attribute 'items'"问题解决_weixin_30337251的博客-CSDN博客


'module' object is not callable
Phthon中'module' object is not callable的错误_热心程序员小朱的博客-CSDN博客
HtmlTestRunner生成报告中有中文乱码解决方案 - 知乎 (zhihu.com)
Pycharm:ModuleNotFoundError: No module named 'HTMLTestRunner' (360doc.com)
关于虚拟环境:
https://blog.csdn.net/qunqunsung/article/details/107594548
关于应用其他模块报错:
https://blog.csdn.net/weixin_44688529/article/details/123204285
https://zhuanlan.zhihu.com/p/526710677?utm_id=0
(7条消息) 【解决方案】requests.exceptions.SSLError: HTTPSConnectionPool_肥宅_Sean的博客-CSDN博客
用postman调用成功,但是脚本调用报错

尝试用postman模拟出这个报错,当把入参改为如下时,报同样的错:

说明入参不能是json格式
那么把
浙公网安备 33010602011771号