Sunday, 20 December 2020

How do I fix this python converting file into an app - still have not found a solution

This question is not a duplicate of this question, because I am trying to create an app.

I am currently following this tutorial, but when I run the command:

pyinstaller --onefile monitoring_culmination_product.py

my command prompt prints out this error:

 File "C:\Users\Rebecca.Bi\AppData\Roaming\Python\Python37\site-packages\numpy\_distributor_init.py", line 26, in <module>
WinDLL(os.path.abspath(filename))
File "c:\users\rebecca.bi\appdata\local\programs\python\python37\lib\ctypes\__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application

Why does this error happen and how can I solve it? I read through all the answers to the linked question, but none of them are pertinent to my problem.

Please anyone help me I still have not found a solution; I am desperate!!!



from How do I fix this python converting file into an app - still have not found a solution

No comments:

Post a Comment