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
Auf dieser Seite können Sie das Online-Video Install Django Framework in Linux Mint 18/Ubuntu with Python pip mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer gamegamecoder 11 November 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,996 Mal angesehen und es wurde von 15 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!