Python3路径Warning
1年前 • 709次点击 • 来自 其他
标签: Python
使用homebrew安装python3.7后,报警如下:
WARNING: The scripts pip, pip3 and pip3.7 are installed in '/Users/dailei/Library/Python/3.7/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
解决方案:
vi .bash_profile
export PATH=$PATH:/Users/mac/Library/Python/3.7/bin