0

我正在使用 IDS 相机,他们有一个名为 pyueye 的 python 模块。我使用 pip 安装了它,但似乎缺少 dll:

Traceback (most recent call last):
  File "/home/bikram/.local/lib/python3.8/site-packages/pyueye/dll.py", line 166, in load_dll
    dll = DLL(libinfo, libnames, os.getenv(envname))
  File "/home/bikram/.local/lib/python3.8/site-packages/pyueye/dll.py", line 96, in __init__
    raise RuntimeError("could not find any library for {} ({})".format(libinfo, dllmsg))
RuntimeError: could not find any library for ueye_api (DLL_PATH: unset)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bikram/Documents/uEye/1.py", line 1, in <module>
    from pyueye import ueye
  File "/home/bikram/.local/lib/python3.8/site-packages/pyueye/__init__.py", line 56, in <module>
    from . import ueye
  File "/home/bikram/.local/lib/python3.8/site-packages/pyueye/ueye.py", line 58, in <module>
    get_dll_file, _bind = load_dll("ueye_api", ["ueye_api_64", "ueye_api"], "PYUEYE_DLL_PATH")
  File "/home/bikram/.local/lib/python3.8/site-packages/pyueye/dll.py", line 168, in load_dll
    raise ImportError(exc)
ImportError: could not find any library for ueye_api (DLL_PATH: unset)

我注意到其他人在 Windows 中遇到了同样的问题。其他人使用 pyeue 有同样的问题吗?

4

1 回答 1

0

I had same issue but then I downloaded IDS Software Suite from https://en.ids-imaging.com/ Installed it and everything worked. Give it a try.

It will also let you configure their camera from IDS Camera Manager before you use it from Python.

于 2022-02-04T10:22:58.843 回答