See this FAQ:

http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-web-application-server

Mike

On 11/09/2009 09:20 AM, Oguz Yarimtepe wrote:
> Hi,
>
> I was trying to use the matplotlib at my Django view. The version i was 
> trying is 0.98. What i did is to import the library and then plot a graph. 
> The problem is when i tried the "from pylab import *", i got "RuntimeError: 
> could not create GdkCursor object". This is most probably because of the 
> apache user is not able to access the X server. Indeed at my distro it 
> doesn't have shell account.
>
> I don't want to define X access to apache user. So what do you suggest?
>
>    


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to