Hi

I just started working on Django. I am unable to get django-admin command 
to work properly. Initially I was getting an error that django-admin could 
not be located. I created a symlink for the same in the /use/local/bin 
folder. Now I am getting the following error:
File "/usr/local/bin/django-admin", line 2, in <module>
  from django.core import management
ImportError: No module named django.core

My setup is as follows:
I am running ubuntu 18.04 on a virtualbox on a Macbook Pro. I have 
installed virtualenv using apt get. I am using python 3.6.5 and Django 
2.0.6. I have installed django using pip3. It has been installed in the 
folder ~/.local/lib/python3.6/site-packages/. Symlink for django-admin.py 
was created in /usr/local/bin/

Kindly help me here. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9bee777f-7550-4d25-8c03-3702e3b83bab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to