EFM-03 Getting Started: Issue with Example.py

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • EFM-03 Getting Started: Issue with Example.py


      I am new to EFM-03. While trying to play with it for the first time, I got the following error with example.py. I am not sure if it is a problem with Python or udk3api.py. Could you help me?

      FYI - I am running win 10 64bit with Python 2.7 x64.
      Traceback (most recent call last):
      File "U:\Dawei-USB3\EFM-03\udk3-api-and-examples-windows-1.5.1\python\example.py", line 38, in <module>
      import udk3api, sys, array, time
      File "U:\Dawei-USB3\EFM-03\udk3-api-and-examples-windows-1.5.1\python\udk3api.py", line 79, in <module>
      _library = cdll.LoadLibrary(_getLibraryName())
      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 126] The specified module could not be found

    • Hello Dawei,

      I see you have unpacked archive udk3-api-and-examples-windows-1.5.1.zip and
      you try to start example.py in the python subdirectory. For all examples to work,
      you must copy the needed UDK3 runtime *.dll files from the runtime directory to
      the directory you are running the tests in. Then it should work.

      Best regards,

      Manfred R.
      Software Development
      CESYS GmbH