Tags
XHTML
Asked 5 years ago
20 Sep 2019
Views 1020
david

david posted

Django - Not installing properly at LInux Mint

i tried to install Django with pip3

sudo pip3 install django

i got the following result

 Collecting django
  Downloading https://files.pythonhosted.org/packages/94/9f/a56f7893b1280e5019482260e246ab944d54a9a633a01ed04683d9ce5078/Django-2.2.5-py3-none-any.whl (7.5MB)
    100% |████████████████████████████████| 7.5MB 186kB/s 
Collecting sqlparse (from django)
  Downloading https://files.pythonhosted.org/packages/ef/53/900f7d2a54557c6a37886585a91336520e5539e3ae2423ff1102daf4f3a7/sqlparse-0.3.0-py2.py3-none-any.whl
Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (from django)
Installing collected packages: sqlparse, django
 

so i thought Django for python 3 installed properly
so i try to make new Django project

django-admin startproject mysite

but it says error like this

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

so how to create project in Django
Rasi

Rasi
answered Nov 30 '-1 00:00

install Django globally by pip

may be you can uninstall Django and try to re install again . work
Post Answer