MBAir下安装httprunner2.5.7 har2case 出现zsh: command not found解决方案
MBAir下python3.8安装httprunner2.5.7 出现zsh: command not found
find / -name hrun查找到路径为:
/Users/w550856/Library/Python/3.8/bin/hrun
使用:sudo ln -s 路径 /usr/bin/hrun
har2case:
find / -name har2case查找到路径为:
/Users/w550856/Library/Python/3.8/bin/har2case
使用:sudo ln -s 路径 /usr/bin/ har2case
出现not permitted解决mac权限:参考https://blog.csdn.net/qq_38287952/article/details/86755672
#关闭SIP,重启按住command +R,
终端输入#csrutil disable
#重启
#sudo ln -s /Users/w550856/Library/Python/3.8/bin/hrun /usr/bin/hrun
#ln: /usr/bin/hrun: Read-only file system
#sudo mount -uw /
#sudo ln -s /Users/w550856/Library/Python/3.8/bin/hrun /usr/bin/hrun
问题解决:
回忆滋润坚持