[mapserver-users] Scribe UI Configuration

Humberto Cereser Ibanez humberto at pastoraldacrianca.org.br
Mon Sep 23 13:03:48 PDT 2013


Hi Jessica,

Em Seg, 2013-09-23 às 11:44 -0400, Jessica Lapointe escreveu:
> Hi Humberto, 
> You should use pip install to get Flask (instead of aptitude):
> 
> sudo pip install Flask 
> 
> If that doesn't work I found this link that might
> help: http://rajaseelan.com/2011/06/18/attributeerror-flask-object-has-no-attribute-teardown_request/  
> 
> Jessica 

It is need to run more commands to be able to install Flask on Debian
Squeeze, by another way than via command "aptitude install"

Following are the commands that I ran:

sudo aptitude remove python-flask --purge
sudo aptitude install python-virtualenv
virtualenv venv
New python executable in venv/bin/python
Installing
distribute..................................................................................................................................................................................done.
 . venv/bin/activate
(venv)humberto at p210:~/mapfiles/scribeui$ easy_install Flask

Thanks,

Humberto Cereser Ibanez
Programmer at Pastoral da Criança
www.pastoraldacrianca.org.br



More information about the mapserver-users mailing list