Install python3.6 and 3.7 coexist

Declare compiler pycharm, I do not know how other compilers tone
today download from github down a project, but the environment needs python3.6, and I was 3.7 anaconda's
so checked online, information in this regard is relatively small, mostly It is python2 and 3.


One, in fact, do not bother, I went from downloaded python3.6.4 official online this version, after downloading double click to execute.

Here Insert Picture Description


Two, pycharm switching environment how to do it?

pycharm in, Setting -> Project -> Project Interpreter
Here Insert Picture Description
If there is no drop-down box to the right of choice python3.6, just click on the + number
Here Insert Picture Description
as shown in Exist environment fill in your inside python3.6.exe the path Click OK to .


Three, cmd switching environment how to do it?

1, right-click " My Computer ", select Properties
2. Select the left " Advanced System Settings ", that opens up the System Properties window
3. Select the environment variable
4, the system variable to find Path, double
5, you python3.6 path in Anaconda python3.7 above - cmd priority python3.6 , or cmd priority python3.7
Here Insert Picture Description

Published 131 original articles · won praise 81 · views 60000 +

Guess you like

Origin blog.csdn.net/weixin_43469047/article/details/103643487