Kamal Hosen
Kamal Hosen
Geospatial Developer | Data Science | Python

Nov 07, 2022

How to install and setup Django project inside Anaconda?

/media/article-img/django_new_app.png

Step -1: Check the python and conda version

$ python --version
$ conda -V

Step -2: Navigate to the folder and create virtual environment inside Anaconda

$ cd ~/Desktop/django_project
$ conda -n django_demo_env python=3.8 anaconda

 

Step -3: Activate the virtual environment

$ conda activate django_demo_env

 

Step -4: Install django

conda install -c anaconda django=3.2.9

 

Step-5: Create Django project

# django-admin startproject project_name
$ django-admin startproject django_demo

 

Step-6: Create Django App

#python manage.py startapp app_name
$ python manage.py startapp myapp

Share To

About Author
  • Kamal Hosen
  • Kamal Hosen
    Geospatial Developer | Data Science | Python

    A passionate geospatial developer and analyst whose core interest is developing geospatial products/services to support the decision-making process in climate change and disaster risk reduction, spatial planning process, natural resources management, and land management sectors. I love learning and working with open source technologies like Python, Django, LeafletJS, PostGIS, GeoServer, and Google Earth Engine.