How to get list of installed python packages
Install pip if needed
yum install python-pip
Find your package as below:
pip list |grep -i BeautifulSoup4
beautifulsoup4 (4.8.2)
or
pip freeze |grep -i BeautifulSoup4
… Read the restbeautifulsoup4==4.9.3
Notes
Install pip if needed
yum install python-pip
Find your package as below:
pip list |grep -i BeautifulSoup4
beautifulsoup4 (4.8.2)
or
pip freeze |grep -i BeautifulSoup4
… Read the restbeautifulsoup4==4.9.3
How to install Flask
wget http://pypi.python.org/packages/source/F/Flask/Flask-0.10.tar.gz tar -xzf Flask-*.tar.gz cd Flask-*
Installing..
python2.6 setup.py install --user
Update your .htaccess with the following lines:
vi .htaccess
AddHandler fcgid-script .fcgi RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.fcgi/$1 [QSA,L]
Update your index.fcgi with the following lines:
vi index.fcgi… Read the rest