genicam / harvesters

Image Acquisition Library for GenICam-based Machine Vision System
Apache License 2.0
500 stars 86 forks source link

I cannot import the pacage in VScode. #439

Closed L0VEUU closed 7 months ago

L0VEUU commented 8 months ago

I cannot import the package in VScode.

I found that when I import the package in python 3.7 or 3.9, it told as follows: ModuleNotFoundError No module named 'harvesters.core'; 'harvesters' is not a package AttributeError: partially initialized module 'harvesters' has no attribute 'path' (most likely due to a circular import).

I have checked that I have installed harvesters package through pip in anaconda. And its version is as follows: genicam 1.3.0 harvesters 1.4.2 numpy 1.26.1 pip 23.3 setuptools 68.0.0 wheel 0.41.2

L0VEUU commented 8 months ago

The code is "from harvesters.core import Harvester".