Pyinstaller "valueerror: Source Code String Cannot Contain Null Bytes"
I'm getting a ValueError: source code string cannot contain null bytes when executing a command pyinstaller main.py in a cmd both with and without administrator privileges. Traceba
Solution 1:
I figured it out. It seems that pyinstaller
isn't compatible with the latest version of Python 3
(as of 24.05.2020). I uninstalled Python 3.8.3 and I installed Python 3.7.7, installed all of the libraries I was using in main.py
and it worked! Such a simple solution.
Post a Comment for "Pyinstaller "valueerror: Source Code String Cannot Contain Null Bytes""