The original intention of blogging


I found out that there was always a problem before it was that what was installed or what was operated after it could be used regardless of it. Later, when you want to use it, you need to search for tutorials, which is very troublesome.
Now start to slowly learn to record your own learning process, which can be regarded as a sort of work!

Anaconda installation and use

Why install Anaconda

Today's convex optimization job can be implemented with matlab and python. Thinking of not holding matlab every day. Take this opportunity to use and learn python. You can learn faster if you have specific tasks to do.
When I used Python, I found an error and appeared No module named numpy/matplotlib to check that pyhton3 has only the most basic functions and requires an additional installation package.
Then there are two methods:
1. Download the relevant package and put it in the python3 package. This one will directly search for the relevant package
. 2. If you use Anaconda for management, you need to download Anaconda.

Anaconda downloads

I found a few blogs, and the relevant links are as follows:
Anaconda Complete Getting Started Guide
Anaconda Usage Tutorial (pictures and texts)
Install Anaconda according to relevant references. But I don't quite understand why Anaconda is needed.
I checked it later and found out. Anaconda can provide many packages. At the same time, Python2 and Python3 are not compatible. As a result, if our project is written in python2, it cannot be run on python3. At the same time, the packages used for different tasks are different. Anaconda is there to make package management orderly?

After installation, you need to configure environment variables and put anaconda/script in personal variables.
At the same time, open anaconda and enter:

conda --version

Check the version.

conda --help

View help

Guess you like

Origin blog.csdn.net/weixin_41773958/article/details/109093748