Photometrics / PyVCAM

Python3.X wrapper for Photometrics and QImaging PVCAM based cameras
MIT License
36 stars 17 forks source link

ImportError: DLL load failed #39

Closed SebastianVivoverse closed 10 months ago

SebastianVivoverse commented 10 months ago

Error

Get the following error when trying to run:

from pyvcam import pvcam
ImportError: DLL load failed while importing pvc: The specified module could not be found.

Steps to reproduce

OS: Windows 11 Python: 3.11.5 PVCAM_SDK60: 3.10.1.1

  1. git clone PyVCAM repo
  2. Activate your venv
  3. Run python setup.py install
  4. Attempt to import pvc from pyvcam in python

Added Context

This was working just fine until I tried to build a wheel from the pyvcam wrapper package. After that the error persists.

vondrejPM commented 10 months ago

The PyVCAM wrapper needs both PVCAM and PVCAM_SDK in order to work properly. Kindly make sure that you have both installed. You can download latest PVCAM from this link: https://www.photometrics.com/support/download/pvcam

SebastianVivoverse commented 10 months ago

My bad, it's working now thanks!