python issue

Status
Not open for further replies.

Bosechandran

Junior Member level 1
Joined
Dec 9, 2016
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
126
Hi,
i have set of program which will run in python 2.7 but it shows below error how to fix the bug.
Python:
Traceback (most recent call last):
File "C:\Program Files (x86)\Texas Instruments\AFE5832LPTX EVM\Scripts\Swaroop_Automation.py", line 20, in <module>
HSDC_Pro = cdll.LoadLibrary(dll_path2)
File "C:\Python27\lib\ctypes\__init__.py", line 443, in LoadLibrary
return self._dlltype(name)
File "C:\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

Thanks,
Chandran
 
Last edited by a moderator:

Probably something in line 20!
(If you want a more useful answer, you will need to provide us with some usable information, including your code.)
Is the program you have used supposed to run onWindows and Python 2?
Susan
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…