Development environment to build the Win10 Python (PyCharm + Anaconda) && && environment variable configuration tool mounting configuration common

First, build a development environment:

1. Anaconda installation: https://www.anaconda.com/download/

2. PyCharm installation:  http://www.jetbrains.com/pycharm/download/ 

note:

1. You must install Anaconda, otherwise it will go wrong.

2. It is recommended not installed in c drive, it is best to create a new installation directory will put together two software options to default during installation.

Second, the environment variable configuration:

1. The concept of environment variables:

Environmental variables (environment variables) generally refers to an operating system used to specify the parameters in the operating system environment, such as: temporary folder location and system folder location.

Environment variables are objects in the operating system with a particular name, it contains one or more application programs that will use the information. Such as Windows and DOS operating system path environment variable, when the system requirements to run a program when it and did not tell the full path where, in addition to the system in the current directory to find this program below, we must also specify the path to the path to find . User by setting the environment variable to better operating processes.

PS: it is the use of some non-system built-in commands (such as Python commands) in console software when you need to specify the installation files location.

2. Configuration:

Right My Computer -> Properties -> Advanced System Settings -> Environment Variables -> System Variables window, double-click the Path -> New

 

The following installation directory into the path to

Note: If you are using the console, you need to restart the console configuration to take effect.

Third, the commonly used tools installation configuration:

1. The package management tools pip: Download

To extract the files in the specified folder, and console installation folder, using the Python command python setup.py install to install

Then pip installation directory (usually in the Anaconda Scripts directory) is also put into the environment variable. This time using the console command pip --help you can view the help.

2. Jupyter Notebook: General already installed when you install python.

Console input jupyter notebook --generate-config, find files based on tips:

Open with notepad, find the following content, modify the default path Jupyter notebook.

 

Console input jupyter notebook to start the application.

It will automatically open a Web page into the general, if not replicated copy the address given in the console to the browser to enter.

Published 34 original articles · won praise 26 · views 10000 +

Guess you like

Origin blog.csdn.net/sinat_40471574/article/details/91354263