ModuleNotFoundError: No module named 'jetcam'
huohsien opened this issue · 6 comments
After running "sudo python3 setup.py install" and got no apparent error message
I went on running the notebook 'csi_camera.ipnb' but got the error message:
ModuleNotFoundError: No module named 'jetcam'
did you run sudo ldconfig?
@huohsien , after you setup with command 'sudo python3 setup.py install', you could see info from screen like this:Installed /usr/local/lib/python/dist-packages/jetcam-.0.0.0-python.egg.
just added file path with file name to your py file with sys.path.insert, then your file can find jetcam
Any updates on this issue? I have tried all I can think of and still getting this error when I run the jetcam csi camera example:
ModuleNotFoundErrorTraceback (most recent call last)
<ipython-input-2-dae08cdf7ca7> in <module>
----> 1 from jetcam.csi_camera import CSICamera
2
3 camera = CSICamera(width=224, height=224)
ModuleNotFoundError: No module named 'jetcam'
I tried installing JetCam before installing JetBot container and after. Run ldconfig, but upon loading in Jupiter I always get this error. If I use a python3 shell it loads just fine with no errors. Adding the egg file path to the example doesn't work either.
running from jetbot import Camera, bgr8_to_jpeg
works also in the jetbot notebooks.
I feel there is something obvious I'm missing... Any ideas or help is appreciated.
It is Due to the reason you might not have installed the Jetcam
install the jetcam from https://github.com/NVIDIA-AI-IOT/jetcam
The problem should be solved.......
If it continues after installation
configure the Python Environment
everything should work fine..
If your file name is "jetcam.py",consider renaming it.
@huohsien , after you setup with command 'sudo python3 setup.py install', you could see info from screen like this:Installed /usr/local/lib/python/dist-packages/jetcam-.0.0.0-python.egg. just added file path with file name to your py file with sys.path.insert, then your file can find jetcam
this worked for me.