原因:因为linux的终端如果是bash的情况下需要在~/.bashrc里面添加环境变量,然后用source ~/.bashrc启动一下;但是在zsh终端下安装软件的话,那么需要在~/.zshrc里面添加环境变量,然后再激活一下source ~/.zshrc。一般zsh终端出现问题的几率比较高,可参考https://zhuanlan.zhihu.com/p/93729259

 

相关文章:

  • 2021-07-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2022-01-10
  • 2021-12-09
  • 2021-09-09
  • 2021-05-07
相关资源
相似解决方案