I'm using django 1.9 and python 3.6
IN POWERSHELL
File "C:\Users\username\PycharmProjects\website_new\website_new\urls.py", line 3,
from django.urls import path
ModuleNotFoundError: No module named 'django.urls'
IN URLS.PY:
from django.contrib import admin
from django.urls import path
urlpatterns = [
django.urls.path('admin/', admin.site.urls),
]
Since, you are already using python 3.6 so you need to upgrade django to latest version which is greater than 2. For those who are using python 2.7, python2.7 don't support django 2 so you can't install django.urls.
On PowerShell
Verification
As next prompt came, it means it is installed now and ready to use.