Enter the specified python command line version []

  • Background
    Prior to the installation in order to learn the depth of learning anaconda, which python version 3.7, but now need to deploy cocos2d-x, require version 2.7, download type python at the command line, displays the version 3.7.

  • Solution
    in the system path path (Advanced System System Settings - environment variable) added directory python.exe (open the file location - Properties - open the file location) (because it is a shortcut, so you need to find a shortcut directory, and then find the location where the original exe file) (Note: taking into account the priority of the issue, will want to move on (the above command line directly into the path of python version corresponding))

  • The results
    can be accessed to the desired version of the command line.
    Where python can find the location of python.exe

In addition: the need for guidance (system path) to access files on the command line, or can not be found.

Guess you like

Origin blog.csdn.net/slozer/article/details/94589860