Py file on windows system flash back problem

Py file on windows system flash back problem

The system opens py files are open with the default python version. If other versions of the python edit files will flash back when the system is turned on.

The above problem may be cause python version, just in the environment variable to the required python version can be put at the head.

I checked before the installation Anaconda Anaconda the python's (3.7) version of the application for the system default version, but my python version pycharm is 3.6, so then packaged into double-click the .exe flash retreat.

Open pycharm debug files, some of which can also run some flash retreat.

After aligned by a py file can run and can not run the code I found:
have basically the underlying code and libraries are imported python itself contains the situation py files can be opened

So guess and python version of
(usually we downloaded the file to a pip python version with the following command, other versions of the python did not). At this time, just think of it ill-considered mistakes during installation Anaconda. ^ * _ * ^

After changing the default python version can normally open py file, exe files can also be re-packaged open. *** ^ _ ^ ***

Published an original article · won praise 0 · Views 67

Guess you like

Origin blog.csdn.net/herry_g/article/details/104072650