I'm trying to restore Python 2.5.2 on an old XP PC for a particular application from 4-5 years ago that uses it .

According to the latest manual on it, the following should be installed.

python-2.5.2.msi
PIL-1.1.6.win32-py2.5.exe
numpy-1.1.0-win32-superpack-python2.5.exe
matplotlib-0.98.1.win32-py2.5.exe

When I install them, and try to run the app program, Sentinel.py, some part of matplotlib complains (error msgs) and the program quits.

The program begins with:
from Tkinter import *
from numpy import *
import Image
import ImageChops
import ImageTk
import time
import binascii
import tkMessageBox
import tkSimpleDialog
from pylab import plot, xlabel, ylabel, title, show, xticks, bar

I tried numpy-1.2.0 and matplotlib-0.98.3 and had the same difficulty. What are wiser choices?

Here's the traceback.

Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

    ****************************************************************
    Personal firewall software may warn about the connection IDLE
    makes to its subprocess using this computer's internal loopback
    interface.  This connection is not visible on any external
    interface and no data is sent to or received from the Internet.
    ****************************************************************

IDLE 1.2.2      ==== No Subprocess ====
>>>
Traceback (most recent call last):
  File "C:\Sentinel\Sent_user-20080716.py", line 16, in <module>

(SEE THIS from the above list of imports, and the from)<*****-------<
    from pylab import plot, xlabel, ylabel, title, show, xticks, bar
  File "C:\Python25\lib\site-packages\pylab.py", line 1, in <module>
    from matplotlib.pylab import *
File "C:\Python25\lib\site-packages\matplotlib\pylab.py", line 206, in <module>
    from matplotlib import mpl  # pulls in most modules
File "C:\Python25\lib\site-packages\matplotlib\mpl.py", line 1, in <module>
    from matplotlib import artist
File "C:\Python25\lib\site-packages\matplotlib\artist.py", line 4, in <module> from transforms import Bbox, IdentityTransform, TransformedBbox, TransformedPath File "C:\Python25\lib\site-packages\matplotlib\transforms.py", line 34, in <module>
    from matplotlib._path import affine_transform
ImportError: DLL load failed: The specified module could not be found.
>>>
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to