Closed hannesa2 closed 3 years ago
I guess, it's related to a previous issue
That's why I installed pip install django
and this command uses 3.1.4
https://files.pythonhosted.org/packages/08/c7/7ce40e5a5cb47ede081b9fa8a3dd93d101c884882ae34927967b0792f5fb/Django-3.1.4-py3-none-any.whl
But the render_to_response
shortcut was deprecated in Django 2.0, and is removed in Django 3.0.
pip uninstall django
pip install django==2.1
... but now new errors appears 👎
File "/home/pi/git/SunFounder_PiCar-V/remote_control/remote_control/driver/camera.py", line 14, in <module>
from picar.SunFounder_PCA9685 import Servo
ModuleNotFoundError: No module named 'picar'
With
sudo ./start
I run intoOk, I do what they want and run
python manage.py migrate
ImportError: cannot import name 'render_to_response' from 'django.shortcuts'
I've no clue what's going on. Does someone has a hint to get rid of it ?