centos7 installed Anaconda3 pro-test success

Table of contents

Introduction to Anaconda

1. Download

1.1 Create a folder to store the installation package

1.2 Enter into the folder

1.3 wget command line download:

 1.4 Download status:

 2. Start the installation:

2.1 Enter the location where the file is stored:

 2.2 Run the .sh file:

 2.3 Enter the registration information page and enter yes;

 2.4 Read the registration information, then enter yes; check the location where the file will be installed, and press enter to install:

2.5 Enter the installation process:

 2.6 After the installation is complete, you will receive a prompt to add environment variables, enter yes:

 2.7 Seeing these messages means that the installation has been completed:

 2.8 Attention!

3. Increase environment variables

3.1 Enter into the configuration file

 3.2 Add configuration

 3.3 Update the configuration

4. Verify


Introduction to Anaconda

     Python is a powerful programming language that provides many modules for scientific computing, common ones include numpy, scipy, and matplotlib. To use Python for scientific computing, you need to install the required modules one by one, and these modules may depend on other software packages or libraries, so it is relatively troublesome to install and use. Fortunately, someone is doing this kind of thing, compiling all the modules required for scientific computing, and then packaging them in the form of a distribution for users to use. Anaconda is one of the commonly used scientific computing distributions. Anaconda is an integration of python scientific computing.

1. Download

1.1 Create a folder to store the installation package

mkdir /usr/local/python

1.2 Enter into the folder

cd /usr/local/python

1.3 wget command line download:

wget https://repo.continuum.io/archive/Anaconda3-2018.12-Linux-x86_64.sh

 1.4 Download status:

 

 2. Start the installation:

2.1 Enter the location where the file is stored:

cd /usr/local/python

 2.2 Run the .sh file:

bash Anaconda3-2018.12-Linux-x86_64.sh 

 2.3 Enter the registration information page and enter yes;

 2.4 Read the registration information, then enter yes; check the location where the file will be installed, and press enter to install:

2.5 Enter the installation process:

 2.6 After the installation is complete, you will receive a prompt to add environment variables, enter yes:

 2.7 Seeing these messages means that the installation has been completed:

 

 2.8 Attention!

Prompt information " Do you wish to proceed with the installation of Microsoft VSCode? [yes|no] ", enter no ;

3. Increase environment variables

3.1 Enter into the configuration file

vim /root/.bashrc

 3.2 Add configuration

 export PATH="/root/anaconda3/bin:$PATH"

 3.3 Update the configuration

source /root/.bashrc

4. Verify

conda list

 Enter python in the terminal to start the interactive interface of python

This is all done.

Guess you like

Origin blog.csdn.net/weixin_46504244/article/details/121110050