https://www.lynda.com/Flask-tutorials/Flask/521231/529877-4.html
1- install python installer: pip
2- install virtualenv then install flask
1- install python installer: pip
https://pip.pypa.io/en/latest/installing.html#install-pip
http://en.wikipedia.org/wiki/Pip_%28package_manager%29
If not already install (usually)
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
Install pip ( ubuntu)
sudo apt-get install python-pip
2- install virtualenv then install flask
sudo pip install virtualenv
mkdir ./testflask
cd testflask
virtualenv venv
source ./venv/bin/activate
pip install flask (no need for sudo )
Other installationm
Firefox Install:
apt-get install firefox
apt-get install xorg
firefox &
python myfile.py
------------------------------------------------------------------
List all dependencies:
onmylaptop@JKRIKER-T460:~/ansible$ sudo pip show ncclient
---
Name: ncclient
Version: 0.5.3
Location: /usr/local/lib/python2.7/dist-packages
Requires: setuptools, paramiko, lxml, six
if a package is missing:
sudo apt-get install python-lxml
or
sudo pip install lxml
http://lxml.de/installation.html