Hello I have this code that runs perfectly on Windows:
import ctypes
import sys
import os
from ctypes import *
from numpy import *
import time
from ctypes.util import find_library
libEDK = cdll.LoadLibrary("edk.dll")
I try running this on Ubuntu and I get this:
Traceback (most recent call last):
File "/home/nassar/Downloads/python/sds.py", line 9, in <module>
libEDK = cdll.LoadLibrary("/home/nassar/Desktop/python/edk.dll")
File "/usr/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /home/nassar/Desktop/python/edk.dll: invalid ELF header