Config Anaconda Environment Path in Linux
作者:XD / 发表: 2021年12月17日 02:58 / 更新: 2023年9月15日 04:27 / 编程笔记 / 阅读量:1618
After installing Anaconda, config Anaconda environment path in Linux
Step 1: Type sudo vim ~/.bashrc
, then press "i" button
Step 2: Add this line at the end of the file "export PATH=/root/anaconda3/bin:$PATH", you may replace the path with your anaconda installed path
Step 3: Press "Esc" button, then type :wq
Step 4: Type source ~/.bashrc
to refresh environment variable
Step 5: Type python
to check the environment
相关标签