PyInstaller Executable Producing Unexpected Loop Output on Mac M1 #9040
Replies: 3 comments 1 reply
-
Is You can also add |
Beta Was this translation helpful? Give feedback.
-
I tried the print(sys.argv) statement as you mentioned - When running on windows (python and exe) and on mac (python) i get this output:
On mac (with created program) i get this output:
What can i do now - so the program is also working as executable program on Mac? |
Beta Was this translation helpful? Give feedback.
-
Hello - i think using this code its working now -
I get this output now:
|
Beta Was this translation helpful? Give feedback.
-
i try to run the following code on my computers:
I am creating an executable program using pyinstaller with this command:
pyinstaller --onefile test.py
When i run this python-code directly (on Windows or Mac) and also the executable program on Windows i get an output as expected in that way:
But when i run the executable program on Mac i get a weird output in that way
Why is this not working on Mac with the excecutable?
Why is even such an output possible when you have a look at the for-loop in the code...?
Has this probably something to do that my Mac has a M1 chipset? (Mac Mini 2020 M1)
How can i run the above program on a M1 chipset if this is the problem?
Beta Was this translation helpful? Give feedback.
All reactions