0

Pyinstaller TypeError

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?

18th Nov 2019, 1:38 AM
ZIAMI
ZIAMI - avatar
3 Respuestas
+ 2
Might 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.
18th Nov 2019, 5:33 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Please attach a sample of your code, its easier to help if we can see the problem. 👍
18th Nov 2019, 2:30 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
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").
18th Nov 2019, 2:36 AM
ZIAMI
ZIAMI - avatar