Reputation: 755
I am able to run my python (python 3.7) program on my pc from sublime text. The program uses tkinter and sqlite3. Does pyinstaller not support them?
The error I'm getting when running it (by simply double-clicking the file created in dist
:
Fatal Python error: initfsencoding: unable to load the file system codec
zipimport.ZipImportError: can't find module 'encodings'
If anyone has some experience with this all help will be greatly appreciated!
I can post the code if the issue might be in the code itself.
Upvotes: 1
Views: 1193
Reputation: 7303
You are using python 3.7
. As far as I have tested , modules like pyinstaller
don't seem to be working in this version. Try uninstalling your python (don't forget to backup your files before), and installing python 3.6.3
or any other python 3
version except python 3.7
. Same happened with me and I did this. It worked.
Upvotes: 3