发布网友
共1个回答
热心网友
Pycharm里用的解释器可能有多个,当前使用的可能没有按照pytest模块
进入 File->Setting->项目名称->Python Interpreter,找到那个安装了pytest的解释器