Ubuntu 18.04 installation Conda, Jupyter Notebook, Anaconda

 

 

 

1, Conda is an open source package management system and environmental management system, it can be installed in the system environment as a separate clean tool, when some python library can not be obtained with conda, conda allow the use of Pip in conda environment get the package file . pip and conda tool may be used in combination, as shown in FIG installation,

Completely uninstall system environment clean conda, first   PIP Uninstall Conda 

Then,  cd .local / lib / python3.6 / Site-Packages Standard Package , delete conda in the directory, conda-4.3.16.dist-info, conda_env three folders,

Input:

rm - r Conda
 rm -r Conda-4.3.16.dist-info 
rm -r conda_env

This will completely uninstall completely.

2, installation Jupyter Notebook, it is a Web application that allows us to create and share code and documentation, is widely used in scientific data analysis. In terms of scientific computing and data analysis, the use of Anaconda and Jupyter notebook will greatly improve efficiency.

3, installation of Anaconda, which is an open source Python release, which contains conda, python and more than 180 scientific packages and their dependencies. Installation process is as follows, the official website to download the latest version of the installation package, select the x86 architecture, non-Power architecture,

Enter: sudo bash Anaconda3-2019.19-Linux-x86_64.sh , if that file name is too long, you can rename themselves after the installation has been Space or Enter, 

 After Do you accept the license terms? Appears, enter yes, the default installation path can also be customized, custom here to / usr / local / anaconda3 

After the installation is complete prompt Do you wish the installer to initialize Anaconda3 by running conda init? Enter yes to. Then close the terminal restart shell.

If you do not want to start when you turn on the terminal Conda's Base Environment , set the parameters auto_activate_base is false ,

Input terminal:  Conda config the --set auto_activate_base to false  , the installation is complete.

Ways to completely uninstall anaconda3, refer to the official explanation ,

conda install anaconda-clean

Anaconda the -clean -yes     # When the conda's base environment is activated

sudo rm -rf /usr/local/anaconda3

rm -rf ~/.anaconda_backup

sudo  rm  -rf ~ / .conda

rm -rf ~/.condarc

This will completely delete the.

 

 

 

Enjoy it.

 

 

 

 

Guess you like

Origin www.cnblogs.com/booturbo/p/11903843.html