Python error when running DobotControl.py


#1

Hi!

I’m trying to run the Demo in Python 2.7 as well as 3.6 on Windows 64 bit. DobotDllType.py is running fine, but if I run DobotControl.py this error pops up:

api = dType.load()

  File "DobotDllType.py", line 459, in load
return CDLL("DobotDll.dll",  RTLD_GLOBAL)

  File "C:\Python\lib\ctypes\__init__.py", line 362, in __init__
self._handle = _dlopen(self._name, mode)

WindowsError: [Error 193] %1 is not a valid Win32 application

Do you have any recommendations on how to solve this issue? I checked all software involved for the version and 64 bit.

Thank you in advance!


#2

Please email to support@dobot.cc to get technical support, thanks


#3

Same thing happen to me and to fix it download the python 3.5.0 x86 version
( [Windows x86 executable installer])