![]() ![]() Remember to use the correct python version. Now to work with your project you need to create a virtual environment for it. Type "help", "copyright", "credits" or "license" for more information. If you want to use the older one just type py -3.7 But next day when you install Python 3.8 and you type “py” it will run Python 3.8. If today you have installed only python 3.7, “py” will run Python 3.7. It’s because of the file C:\Windows\py.exe which appears when you install your first Python. In command line when you type “py” your computer will look for the newest Python’s version - I mean the one with the highest version number. You can install more than one Python’s version. Secondly choose the version accordingly to type of your system. So firstly you need to install Python 3.7. Pyinstaller doesn’t work properly with the newest python version which is now 3.8. I’m using Windows, but some rules are the same probably for other systems. But jumping from one page to another I figured it out. What was working in the beginning suddenly stopped working and got me very confused. But the more programs I write, the more python’s versions I have (and packages and virtual environments). I am able to write simple but useful scripts. ![]() You can create your exe file very easily also with py2exe. -icon= : Choose the file to use as icon for file. ![]()
0 Comments
Leave a Reply. |