I try to use pyirrlicht on windows 7 , 64-bit with a graphic card NVIDIA QUADRO K30000.
I got the following message when i launch 2d_maze.py or any of the .py file contains in the irrlicht directory.
Traceback (most recent call last):
File "C:\Users\xxxxx\Documents\pyirrlicht\2d_maze.py", line 4, in <module>
from pyirrlicht import *
File "C:\Users\xxxxx\Documents\pyirrlicht\pyirrlicht.py", line 60, in <module>
c_module = ctypes.CDLL(c_module_name)
File "C:\Program Files\python27\lib\ctypes__init__.py", line 365, in init
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 is not a valid Win32 application</module></module>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think you use 64 bit python C:\Program Files\python27. You always can download 32 bit python and not install, only unpack to C:\python directory, and run from this. As alternative - you always can build pyirrlicht from sources for your 64 bit platform.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I try to use pyirrlicht on windows 7 , 64-bit with a graphic card NVIDIA QUADRO K30000.
I got the following message when i launch 2d_maze.py or any of the .py file contains in the irrlicht directory.
Traceback (most recent call last):
File "C:\Users\xxxxx\Documents\pyirrlicht\2d_maze.py", line 4, in <module>
from pyirrlicht import *
File "C:\Users\xxxxx\Documents\pyirrlicht\pyirrlicht.py", line 60, in <module>
c_module = ctypes.CDLL(c_module_name)
File "C:\Program Files\python27\lib\ctypes__init__.py", line 365, in init
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 is not a valid Win32 application</module></module>
I think you use 64 bit python C:\Program Files\python27. You always can download 32 bit python and not install, only unpack to C:\python directory, and run from this. As alternative - you always can build pyirrlicht from sources for your 64 bit platform.