做图书馆网站模板,仪征市城乡建设局网站,规划局网站建设工作总结,山东网站定制设计如#xff1a;pip install httprunner#xff0c;安装成功后输入hrun -V 提示“command not found”。
造成这个问题的原因是PATH环境变量的问题#xff0c;因为使用的是homebrew安装的python#xff0c;导致pip bin目录的环境变量没注册上。 解决办法是将python bin目录加…如pip install httprunner安装成功后输入hrun -V 提示“command not found”。
造成这个问题的原因是PATH环境变量的问题因为使用的是homebrew安装的python导致pip bin目录的环境变量没注册上。 解决办法是将python bin目录加入环境变量。
1.打开终端进vi编辑器
vi ~/.bash_profile2.添加一行
export PATH${PATH}:你的python安装bin目录3.刷新配置文件
source ~/.bash_profile