Python3路径Warning

1个月前 67次点击 来自 其他

使用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/dailei/Library/Python/3.7/bin
Card image cap
开发者雷

尘世间一个小小的开发者,每天增加一些无聊的知识

本站文章全部采用 CC BY 4.0 协议,欢迎转载

技术文档 >> 系列应用 >>
热推应用
Let'sLearnSwift
学习Swift的入门教程
PyPie
Python is as good as Pie
标签