mac安装pytest遇到的坑

作者: tester | 来源:发表于2021-12-20 17:41 被阅读0次

安装了pytest 但是不能用:

1、ModuleNotFoundError: No module named 'pytest'

原因:没有在pycharm里面安装pytest.

2、在 Project Interpreter里安装pytest失败

解决方法:在终端运行 pip install --user pytest

相关文章

网友评论

    本文标题:mac安装pytest遇到的坑

    本文链接:https://www.haomeiwen.com/subject/auuzfrtx.html