Django Import Error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Django Import Error

I was working on my first django project using the documentation. I am getting this error while importing django modules. I'm sure that django is successfully installed in my virtual environment. The error is: Unable to import 'django.shortcuts' Unable to import 'django.http' Unable to import 'django.contrib' Unable to import 'django.urls' Please Help

18th Jan 2020, 11:20 AM
Gurpartap Singh
Gurpartap Singh - avatar
5 Answers
0
try to uninstall Django and install one more time or check your code
18th Jan 2020, 12:23 PM
Roman
Roman - avatar
0
i have created a separate environment path...and reinstalled it thrice...then also i'm getting the same error
18th Jan 2020, 1:25 PM
Gurpartap Singh
Gurpartap Singh - avatar
0
https://i.stack.imgur.com/I2US7.png here is the screenshot of the error
18th Jan 2020, 1:25 PM
Gurpartap Singh
Gurpartap Singh - avatar
0
check all your codes
18th Jan 2020, 1:26 PM
Roman
Roman - avatar
0
I'm having the same issue as Gurpartap Singh. Gurpartap, did you ever find out what the issue was and how to fix it?
27th Jul 2020, 11:47 PM
Pablo Diaz