学习Django时教程需要安装Anaconda3版本的python, 与之前机器上的python版本不一致,导致装了anaconda之后在terminal查看conda版本时报错:conda: command not found
export PATH="/home/username/anaconda3/bin:$PATH" to my .bachrc
(open by typing vim ~/.bashrc)
Add this to your .zshrc:
export PATH="/home/username/anaconda3/bin:$PATH"
(open by typing vim ~/.zshrc)
Make sure to replace /home/username/anaconda3 with your actual path.
网友评论