Python Forum
[WinError 193] %1 is not a valid Win32 application
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[WinError 193] %1 is not a valid Win32 application
#5
(Oct-17-2016, 09:38 PM)Zest Wrote: what exactly do you mean with 32bit code? how can i check how many bits my code is?

for a project i have been provided with a toolbox written in python and i'm trying to import a module from this toolbox (could this toolbox perhaps be 64bits? and if so how can i check?). i have placed all files in the same folder.

When we ask for your code, it means the Python code you have written.  :)
You say you have a 'toolbox' and you are trying to import a module from it, so at the very least, your code will look like this

import module_name    # This is the name of the module you are trying to import

# Here is you code that you've written to use that module
At this point, do not worry about 32 and 64 bit stuff. Where did you get the 'toolbox' from?
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Messages In This Thread
RE: [WinError 193] %1 is not a valid Win32 application - by sparkz_alot - Oct-17-2016, 09:53 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020