Jul 14, 2020 #1 B 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: Jul 14, 2020
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
Jul 14, 2020 #2 A Aussie Susan Advanced Member level 5 Joined Jan 5, 2015 Messages 1,582 Helped 414 Reputation 828 Reaction score 469 Trophy points 1,363 Activity points 18,689 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
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