如果用的是zsh shell的话,可以如下设置PATH
在~/.zshrc中添加以下的语句:
export PATH=$PATH:~/opt/bin
将~/opt/bin添加到路径中。
保存后,运行source ~/.zshrc
这样就可以保证上述的环境变量设置一直有效.
https://www.crifan.com/mac_local_install_python_3_pipenv_virtual_environment/
如果用的是zsh shell的话,可以如下设置PATH
在~/.zshrc中添加以下的语句:
export PATH=$PATH:~/opt/bin
将~/opt/bin添加到路径中。
保存后,运行source ~/.zshrc
这样就可以保证上述的环境变量设置一直有效.
https://www.crifan.com/mac_local_install_python_3_pipenv_virtual_environment/