Re: ccplot built (was Re: python 2.7 instead of 2.6?)
CloudSat and CALIPSO plotting tool
Brought to you by:
peterkuma
From: Peter K. <pet...@wa...> - 2010-08-18 10:08:17
|
Hi Erik, Erik Bryer wrote: > Numpy had installed arrayobject.h here: > /usr/local/lib/python2.6/site-packages/numpy/core/include/numpy/. > However, cctkmodule.c looks for arrayobject.h with: > #include <numpy/arrayobject.h> > > I noticed PyNIO was detected ok, and I thought maybe because it had a > Nio.pth. So, I tried adding a .pth to add numpy to python's path. Python > reported the new path (import sys;sys.path), but "build" still did not > find arrayobject.h. I just changed the include statement to > #include > </usr/local/lib/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h> > > and ccplot built ok. It seems to be running ok too. On CentOS numpy does not install its header files in the standard locations such as /usr/include or /usr/local/include as on e.g. Debian. > Out of curiosity: We have ccplot installed on our server; we noticed the > client's X-server needs to be running in order to run ccplot on the > server, and we wondered why this is. This is because matplotlib imports some Gtk-specific modules by default, which expect an X server to be available. > Thanks for the help, > > Erik I have fixed both of these issues in ccplot 1.43. Thank you reporting them. Peter |