0 votes
1 view
in Python by (200 points)

I'm working on a website development project. I opened the terminal and typed

import django 

django.VERSION

I didn't faced any error. But then, to start my project,when I typed

django-admin startproject trialsite 

I received a message, like the below:

Cannot find installed version of python-django or python3-django 

With the help of

pip install Django==1.8.2 

I installed Django in my system, and using apt-get, I installed the django-admin package before using it. I don't know what is the issue, can someone please tell me. 

1 Answer

0 votes
by (26.4k points)
edited by

You can solve it by executing the below code:

sudo apt-get install python-django

Want to become a python expert? Just come and join our python online course training

If you want to know more about these topics, you can also look at the following video tutorial :

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Oct 11, 2019 in Python by Sammy (47.8k points)
0 votes
1 answer
asked Jul 5, 2019 in Python by Sammy (47.8k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...