Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


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

sudo pip install flask



------------------------------------------------------------------


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





  • No labels