74160/error-unable-to-import-path-from-django-urls
I"m trying to run command:
from django.urls import path
Getting error:
Traceback (most recent call last): File "< stdin >", line 1, in ImportError: cannot import name 'path'
Any help?
Hello @kartik,
You need Django version 2
pip install --upgrade django pip3 install --upgrade django python -m django --version # 2.0.2 python3 -m django --version # >3
Hope it works!!
Thank You!!
Hello,
No, it depend on python version you are using
Hi, If you successfully installed opencv in your ...READ MORE
If i understand your question correct then ...READ MORE
ImportError: No module named pythoncom I tried to ...READ MORE
num = input("enter number") print(num) READ MORE
Hi, there is only that way and ...READ MORE
Hi all, with regard to the above ...READ MORE
Hello @kartik, To turn off foreign key constraint ...READ MORE
Hello @kartik, Let's say you have this important ...READ MORE
Hello @kartik, Upgrading the packages will resolve the ...READ MORE
Hello @kartik, You can try this: from django.views.generic import ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.