

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.
