You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have downloaded the package but when running it I get the following error message:
OSError: [WinError 193] %1 is not a valid Win32 application
If I understand it right there is a mix of 32/64 bit software somewhere.
I have uninstalled 64bit Python but the problems might still be the Tkinter.
Here the complete error log:
PS C:\Users\Jarmo\Python_stuff> python ftl2cGui.py
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64__qbz5n2kfra8p0\Lib\tkinter_init_.py", line 1948, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Users\Jarmo\Python_stuff\ftl2cGui.py", line 35, in open
ft.open_ftlib()
File "C:\Users\Jarmo\Python_stuff\ft.py", line 12, in open_ftlib ftlib = FTlib("lib/LibFT260.dll")
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jarmo\Python_stuff\ft_function.py", line 11, in init
self.ftlib = windll.LoadLibrary(libpath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64__qbz5n2kfra8p0\Lib\ctypes_init.py", line 454, in LoadLibrary
return self.dlltype(name)
^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64__qbz5n2kfra8p0\Lib\ctypes_init.py", line 376, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [WinError 193] %1 is not a valid Win32 application
I reinstalled Python (32bit) and it is said that TKinter will come with it.
However, it does not seem to do that...
So what to do?
Sincerely yours,
Jarmo Alander
The text was updated successfully, but these errors were encountered:
I have downloaded the package but when running it I get the following error message:
OSError: [WinError 193] %1 is not a valid Win32 application
If I understand it right there is a mix of 32/64 bit software somewhere.
I have uninstalled 64bit Python but the problems might still be the Tkinter.
Here the complete error log:
PS C:\Users\Jarmo\Python_stuff> python ftl2cGui.py
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64__qbz5n2kfra8p0\Lib\tkinter_init_.py", line 1948, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Users\Jarmo\Python_stuff\ftl2cGui.py", line 35, in open
ft.open_ftlib()
File "C:\Users\Jarmo\Python_stuff\ft.py", line 12, in open_ftlib
ftlib = FTlib("lib/LibFT260.dll")
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jarmo\Python_stuff\ft_function.py", line 11, in init
self.ftlib = windll.LoadLibrary(libpath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64__qbz5n2kfra8p0\Lib\ctypes_init.py", line 454, in LoadLibrary
return self.dlltype(name)
^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64__qbz5n2kfra8p0\Lib\ctypes_init.py", line 376, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [WinError 193] %1 is not a valid Win32 application
I reinstalled Python (32bit) and it is said that TKinter will come with it.
However, it does not seem to do that...
So what to do?
Sincerely yours,
Jarmo Alander
The text was updated successfully, but these errors were encountered: