I've tried using Pyinstaller and no matter what code I try, it gives me "TypeError: an integer is required (got type bytes)" even on the simplest hello world code. What am I doing wrong?
11/18/2019 1:38:32 AM
ZIAMI3 Answers
New AnswerMight I suggest you download pycharm, which is a program that will enable you to code and run python on your computer. Unfortunately, I have no previous experience with pyinstaller and the process you are describing.
Please attach a sample of your code, its easier to help if we can see the problem. 👍
I'm doing it from the command line. Is that how I run pyinstaller? I open cmd on my computer and type "pyinstaller myfile.py" It runs through a lot of steps and then gives that error. It doesn't matter what the file contains. Even if the only code is "print("Hello World").
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message