1. Welcome Word
I'll tell you more about the various rush-and-rush issues that are being learned early in Python, and let's focus on the syntax of Python and the project issues that are being addressed by Python later, using these steps. And I myself as small white, unfortunately did not miss any of the pits, have jumped in, so write down here the experience paste, on the one hand, hope to be able to later scholars can effectively avoid these pits, on the other hand is also a summary and warning.
2. Content Outline 2.1 installation sequence
The ability to use the Python installation process I recommend this: Anaconda-pycharm
Anaconda I recommend installing the Anaconda3 cause explained later
2.2 Installation Results
Anaconda is a scientific computing environment, when installed on the computer Anaconda3, it is equivalent to the installation of Python, there are some common libraries, such as numpy,scrip,matplotlib and other libraries.
(If you don't have Anaconda installed here, just install Python, run the pip install in cmd if you want to use these libraries ...;)
here to draw the key!!! after installing Anaconda, remember to add environment variables, such as my, I install the path is: F:\Anaconda3, then the installation is done after the next operation:
Right-click My Computer---Properties---advanced system settings----Advanced options There is an environment variable in the environment variable------The system variable to find the path------Double-click Path, add the path, separated by the path;
There are three paths that need to be added (in my case):F:\Anaconda3; F:\Anaconda3\Scripts; F:\Anaconda3\Library\bin
After that, then cmd directly into the Python, if it appears, it shows that Anaconda loaded, Python can be used. Here, in fact, your python can be used, the next is about the IDE development environment, so far I recommend two Pycharm and Spyder, if you used to use MATLAB, then try using the Spyder it, Besides, when you're anaconda. The Spyder is also installed, and a Spyder is found in the Anaconda menu in the Start menu. Open it and you can use it. The Spyder and MATLAB work very much like the workspace, but Pycharm is also very powerful, many people are using pycharm.
Okay, so far, I should have been able to understand some of the problems of building a python work environment. In my opinion, it is very convenient to make sure that you do not install Python directly, or that the scientific environment installed by Anaconda. In choosing Anaconda2 and Anaconda3, I chose Anaconda3. Here is a correspondence, Anaconda2 corresponding is python2.x version, Anaconda3 corresponding is python3.x version. python2.x versions often encounter various problems with character encoding, the default encoding for python3.x is UTF-8, and there are very few character encoding problems. in the next article I write about the Chinese time of the Spyder (reproduced in ( kingmo888 ), it is very important to use ANACONDA3, there will not be many character encoding errors.
Just started, mainly for the summary, but also very unprofessional, welcome to correct and criticize.
The relationship between Python,pycharm,anaconda and installation process ~ Skip various pits for beginners