行业知识
pytest报错:ModuleNotFoundError: No module named ‘pytest‘
2026-12-03 03:41:34
来源:互联网转载
1.index.php/tags-41973.html" >���错原因:
当前项目中的解释器没有pytest
2.解决方法:
1>pycharm中点击file–setting–project–Python interpreter
2>右侧列表中没有pytest,点击+
3>搜索pytest,点击左下角 install package
上一篇:如何快速下载种子文件?