httprunner v4.3.0 在 python虚拟环境venv中使用出现报错 #1511
Answered
by
Chen-Ed
Chen-Ed
asked this question in
2 - 答疑(Q&A)
-
背景: 现象: 我希望可以使用httprunner在venv环境下成功运行,在公司项目中进一步集成httprunner。希望能获得大佬们的帮助,不吝解答,非常感谢~~ |
Beta Was this translation helpful? Give feedback.
Answered by
Chen-Ed
Oct 28, 2022
Replies: 2 comments
-
已自己解决 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Chen-Ed
-
那你下次执行其他执行,比如hrp run xxx.yml的时候,会自动走你上面指定的路径吗 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
已自己解决
解决方法:
执行时指定虚拟环境路径
hrp.exe startproject demo --venv C:\Users\xxxx\PycharmProjects\httpRunner_Test\venv