I'm trying to live stream video from my raspberry pi to a Django web page, but for some reason, I can't import the 'picamera'-module in Django... I have written a script that outputs the camera-feed, and it works fine when i run it outside of the server, but when i import my camera-script to views.py, i get the error message " ModuleNotFoundError: No module named 'picamera'". Does anyone know why? All the other modules i'm using works fine both in and outside of Django. Importing my own modules also works fine.
-- I'm certain that i have installed the picamera-module (https://picamera.readthedocs.io/en/release-1.13/) correctly, I even tried removing and reinstalling it. I got the same error when trying to import NumPy(https://pypi.org/project/numpy/)...
Eternally grateful to anyone who can help!
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8f300ec2-999f-4b0d-ab00-58a6e7cc3986%40googlegroups.com.
No comments:
Post a Comment