-
ubuntu conda install인공지능/딥러닝 2020. 7. 20. 17:29728x90반응형
https://askubuntu.com/questions/849470/how-do-i-activate-a-conda-environment-in-my-bashrc
초기 과정
https://www.digitalocean.com/community/tutorials/how-to-install-anaconda-on-ubuntu-18-04-quickstart
It looks like the accepted answers might be out of date. From the docs:
If your shell is Bash or a Bourne variant, enable conda for the current user with
$ echo ". /home/<user>/miniconda3/etc/profile.d/conda.sh" >> ~/.bashrcor, for all users, enable conda with
$ sudo ln -s /home/<user>/miniconda3/etc/profile.d/conda.sh /etc/profile.d/conda.shThe options above will permanently enable the 'conda' command, but they do NOT put conda's base (root) environment on PATH. To do so, run
$ conda activatein your terminal, or to put the base environment on PATH permanently, run
$ echo "conda activate" >> ~/.bashrcPrevious to conda 4.4, the recommended way to activate conda was to modify PATH in your ~/.bashrc file. You should manually remove the line that looks like
export PATH="/home/<user>/miniconda3/bin:$PATH"^^^ The above line should NO LONGER be in your ~/.bashrc file! ^^^
728x90반응형'인공지능 > 딥러닝' 카테고리의 다른 글
tensorflow cuda 버전에 따른 설치방법 (0) 2021.03.24