Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Issue: Ubuntu 20.04 #3

Open
BirBDey opened this issue Nov 5, 2021 · 1 comment
Open

Installation Issue: Ubuntu 20.04 #3

BirBDey opened this issue Nov 5, 2021 · 1 comment

Comments

@BirBDey
Copy link

BirBDey commented Nov 5, 2021

Hi,
I tried installing using pip, I get the following warning messages when I try to import it:

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)
@MeHow77
Copy link

MeHow77 commented Feb 23, 2022

I know it's quite too late for this response but I had to download libraries dedicated for Linux and then export path.
Unofficial libraries: https://github.com/anqixu/unofficial_ueye_sdk_drivers
examplary path: export PYUEYE_DLL_PATH="your/path/to/downloaded/libs"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants