After Idle,anaconda, and Pycharn programming environment, and after a period of project programming, decided to use Pycharm as a future work environment. On the one hand because the project team other people recommend, on the other hand in the use of the process more smoothly. Of course, a lot of people also recommend Anaconda, this is to see a person's preference.
As the research progresses, the complexity of the code gradually exposes some of the important problems of the original environment, 1: The Python version under multiple versions cannot coexist, even if the version is changed by changing the name of the executable file to cause the PIP to not work properly, 2: After the installation has been removed from Python, Some residual settings have an impact on the use of pacharm. To sum up, decide to rebuild the working environment.
To introduce, my research direction is the image processing and the machine vision direction, also relates to the machine learning related content, therefore installs the third party library to be related to the above library.
Begin
First, save the screenshot of the original installed library. Easy to reinstall when setting up the environment
Then uninstall the original Python version and clean up the environment variables, including PIP
First install python3.5 (machine learning framework has not been supported to 3.6), and add to the environment variables, can be downloaded at the official website. Because the Python3 is more, the default settings are not changed. This opens the python3.5 directly at the command prompt.
Next, install python2.7, rename the executable program to PYTHON27, and then manually add python27 and script to the environment variable
So you can invoke Python3 in Python to invoke python2.7 with Python27.
Install a Third-party package with Pip install to Python3 and install a third party package with python27-m pip install to Python27 (location is located in the script directory)
This solves the problem of multiple versions of coexistence and two version PIP installations
Next, in the second chapter, record the selection of different versions in Pycharm and install the Third-party libraries for different versions.
Complete.