Pyinstaller TypeError | Sololearn: Learn to code for FREE!

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?

11/18/2019 1:38:32 AM

ZIAMI

3 Answers

New Answer

+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.

+1

Please attach a sample of your code, its easier to help if we can see the problem. 👍

+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").