Mac configuration python Anaconda environment in PyCharm

In python development of our most popular IDE is PyCharm, about the advantages of PyCharm not in the repeat here. In project development, we often use many third-party libraries, most of the command name is pip install third-party libraries installed with. Now you can use a tool to help you solve problems often install third-party libraries, this tool is Anaconda.

Anaconda integrates more than 100 popular third-party libraries, development projects can reduce the use of pip command to install. About Anaconda installation package, you can go to the official website to download and install.

I want to focus on here is the description of the Mac PyCharm configuration Anaconda environment.

Step open PyCharm, enter preferences, Mac shortcut is the command + ,, as shown below:

 

 

Step Two: Select Project Interprete

 

 

Step 3: Click the upper right corner of the gear, as shown:

 

Step Four: This step is the most critical and most error-prone. The third step appears click Add, enters shown below:

 

 

When we see what is shown on the map, the first reaction is to click Conda Environmenr, this is not true, and it is a lot of confused people will encounter. The right choice should be the System Interpreter.

Step Five: Choose System Interpreter, top right, click the gear, select Add, the page will appear as follows:

 

  

We chose anaconda3 folder, and open, locate python.app folder and open it.

Step Six: Select the Mac OS file python.app folder in the folder, and open, select the python, and click on the bottom right corner of ok

 

So far PyCharm configuration Anaconda environment has been completed, be patient loads, you will see the most common third-party libraries configured to PyCharm, because Anaconda is configured with popular third-party library, you just need to carefully develop a program on it .

 
From: https://blog.csdn.net/amberdreams/article/details/81227488

Guess you like

Origin www.cnblogs.com/imxiu/p/12459918.html