pseyepy
pseyepy copied to clipboard
Importing Library
from .cameras import Camera, cam_count ModuleNotFoundError: No module named 'pseyepy.cameras' Error showing always
@nurullah312 Which directory are you running that import statement from? From your error, I suspect you're doing it in the pseyepy-master directory, so your Python interpreter resolves "pseyepy" to mean the pseyepy directory within pseyepy-master and then can't find a cameras module in there. You'd want it instead to resolve to the pseyepy module that you just installed in the prior step (by doing the setup.py install
part)
If I'm right, you can resolve your issue by just cd'ing to any directory that doesn't contain a pseyepy file or directory. So if you're in pseyepy-master, cd one level up.
I had the same problem as @nurullah312 , but your suggestion worked for me @ghost.
find print exc and replace it with print (ecx) ;(this is for python3) and also find print count and replace it with print (count) in the cameras.pyx file and save it