Hello internet! Welcome to this video. Here we'll install Django, a web framework using python pip in linux mint 18.1. Try the commands below:
alias python=python3 #sets default python from python2 to python 3
sudo apt-get install python3-pip
Prefix the next command with sudo if it gives a permission denied error
pip3 install virtualenv # if it fails, try: sudo pip3 install virtualenv
pip3 install --upgrade pip
pip install Django # If this shows error
#OR if you want to keep django seperate, then try the codes below:
virtualenv --python=`which python3` ~/.virtualenvs/djangodev
source ~/.virtualenvs/djangodev/bin/activate # line 19
#$. ~/.virtualenvs/djangodev/bin/activate #try this if line 19 fails
pip install Django
now whenever you want to create a new django project or work with Django, #simply paste line 19 and then django-admin startproject YourSite or some other #commands
In questa pagina del sito puoi guardare il video online Install Django Framework in Linux Mint 18/Ubuntu with Python pip della durata di ore minuti seconda in buona qualità , che l'utente ha caricato gamegamecoder 11 novembre 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,996 volte e gli è piaciuto 15 spettatori. Buona visione!