During this time, I bought a book that uses Python for data analysis. The book wants me to remove the Python environment that was originally installed, but I don't think this is going to work, and I've been writing a lot of things. so I found a solution in the blog, record it.
first, we installed two Python versions. we changed the python.exe of one of the files to python2.exe, and then the new Python path and its Scripts The path is written to the environment Variable. to use the original version to execute the test.py file directly with the Test.py. to execute with the new python, add Python2 test.py
We generally have to install the PIP so that we can install the Python expansion pack, now there are scripts in the two Python pip.exe so what now? the same method, change the name, I will be the newly installed Python pip.exe, changed to Pip_ data.exe, so the implementation can be divided into clear. but that's not a good idea. frustration will not be installed on the centos, can only be done on Windows on the Above.
The next way to get back is to remove the other environment variable every time you use one Python.
Install two different versions of Python in Windows