From: Michael D. <md...@st...> - 2009-11-09 14:22:44
|
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? > > |