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.