问题描述:运行pytest 报语法错误 原因:猜想装了两套python,,而导入 pytest 无效,可能一些环境变量未配置导致得,不是很清楚,但是我切换成了 另一套python 环境 ,在pycharm里 install pytest 模块就好了 解决方案: 如果哪位大佬知道 ,请留言,谢谢了 来源:https://www.cnblogs.com/godfather520/p/11975932.html 标签 pytest