Look into this. When you import matplotlib it attempts to read(write?) into 
the MPLCONFIGDIR. If it does not exist for the user or the user (www-data) 
does not have read/write permission it fails.

On Friday, 19 July 2013 20:45:28 UTC-5, K. Antonis Tzorvas wrote:
>
> I've used this script 
> https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
>
> and the problem is that i cannot import matplotlib in web2py (although it 
> did import numpy)
> if i try to run /home/www-data/web2py/web2py.py on another port then there 
> is no problem with the import and the application is running fine
>
> any idea?
> thanks
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to