bensondaled / pseyepy

PSEye-py: a python interface to the PS3Eye camera
Apache License 2.0
78 stars 26 forks source link

Why I got the error message"ImportError: No module named cameras" #16

Open autocomputer opened 9 months ago

autocomputer commented 9 months ago

Hi, I compiled the code successfully and when I run pip list, the followings were shown. pseyepy 0.0 But when I run Python3 in interactive mode and input "from pseyepy import Camera", the following error occured. Could you tell me why this happened? Thanks.

from pseyepy import Camera Traceback (most recent call last): File "", line 1, in File "pseyepy/init.py", line 1, in from .cameras import Camera, cam_count ImportError: No module named cameras

autocomputer commented 9 months ago

Hi, I've solved the problem by reading https://github.com/bensondaled/pseyepy/issues/5. Run python3 out of pseyepy-master and everything is OK.