以下是安装内容  完全没有毛病

linux中安装pip后无法使用的问题


然而在运行时仍然提示bash: pip: command not found

linux中安装pip后无法使用的问题



最后将python的bin目录写入环境变量解决

# vim /etc/profile

添加行

export PATH=/usr/local/python27/bin:$PATH    #bin目录根据实际路径更换

保存退出

# source /etc/profile    #刷新环境变量

#pip -v 

linux中安装pip后无法使用的问题


喜闻乐见

相关文章:

  • 2021-11-07
  • 2022-12-23
  • 2021-12-07
  • 2021-06-23
  • 2022-12-23
  • 2021-10-31
  • 2022-12-23
  • 2021-07-29
猜你喜欢
  • 2021-06-22
  • 2021-11-19
  • 2021-10-30
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2021-07-11
相关资源
相似解决方案