The following forum message was posted by pythonscript007 at
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4593717:
I use Eclipse SDK, Version: 3.7.0 with PyDev 101.
Furthermore I have installed
- numpy-1.6.1rc1-win32-superpack-python2.6.exe
and
- matplotlib-1.0.1.win32-py2.6.exe
as noted here: matplotlib.sourceforge.net/users/installing.html
I have rebuild all the packages and looks the site-packages are listed.
(by the way as you see it is an Python version installed with ArcGIS )
If I test a script to check the installation like:
import numpy
arcpy.AddMessage("NUMPY Version " + numpy.__version__)
import matplotlib
arcpy.AddMessage("MATPLOTLIB Version " + matplotlib.__version__)
I get the following error:
NUMPY Version 1.6.1rc1
Traceback (most recent call last):
print "MATPLOTLIB Version " + matplotlib.__version__
AttributeError: 'module' object has no attribute '__version__'
Also the command
- import pylab as pl
import pylab as pl
from matplotlib.pylab import *
ImportError: No module named pylab
So even matplotlib is installed properly in the directory "site-packages" (see
screenshot attached) it does not work in Eclipse.
Eclipse points properly as well (see 2nd screenshot attached). As you see I
even added the directory matplotlib manually)
By the way if I let it run in iPython (same installation) it works perfect.
What still needs to be done to get matplotlib work in Eclipse?
Thanks
Werner
[img]http://www.eclipse.org/forums/index.php/fa/3212/[/img]
[img]http://www.eclipse.org/forums/index.php/fa/3213/[/img]
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users