I tried directly the setup.py, it does not work with wxcursor_demo.py

My first try was  modifying the following in the setup.py :

#mpldata = glob.glob(r'C:\Python24\share\matplotlib\*')
mpldata=[]
 for di in allsubdirs(r'C:\Python24\Lib\site-packages\matplotlib'):
    ti=di+'*.py*'
    mpldata=mpldata+glob.glob(ti)
#mpldata.append(r'C:\Python24\share\matplotlib\.matplotlibrc')
mpldata.append (r'C:
\Python24\Lib\site-packages\matplotlib\mpl-data\matplotlibrc')

The exe fails at importation line :
from matplotlib.numerix import arange, sin, pi

Here is the error log :
Traceback (most recent call last): 
  File "wxcursor_demo.py", line 7, in ?
  File "zipextimporter.pyo", line 82, in load_module
  File "matplotlib\__init__.pyo", line 720, in ?
  File "matplotlib\__init__.pyo", line 273, in wrapper 
  File "matplotlib\__init__.pyo", line 360, in _get_data_path
RuntimeError: Could not find the matplotlib data files

So I guess I did quite wrong! I have too look further...

BTW, I'm using enthon-python2.4-1.0.0.exe

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to