Hi Olusina, I guess you have specific reason to prefer to use python2.4 and not install matplotlib into python2.5
I also have 2 versions installed on my computer, .. only one will work directly from the command line, the first one found on the path. however whenever I want to run a test against Version2.4 I can do that by calling the interpretor directly and pass the script name from command prompt c:\python24\python myscript.py or if you want to run the interpretor interactively D:\> D:\>c:\python24\python Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> ^Z D:\>c:\python25\python Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> ^Z Hope this helps Steve olusina eric wrote: > I am a new user of Python and need to also use matplotlib but I am > having some problems which I hope somebody will be able to help me with. > I have two versions of Python on my laptop that runs on Windows XP. > Version 2.4 installed in a folder named python 24 and I also have > VisIt which has associated with it Python Version 2.5. I installed > matplotlib for version 2.4 on my laptop and it detected the Python > version 2.4 and installed itself in the right folder. However I can > only use Python 2.4 when I am in this folder (c:\python24\). When I > call python from any other folder is loads the 2.5 version. > For the other version of Python (the 2.5 version) I can call this > version from any directory but when I installed matplotlib for Python > version 2.5, it will not import pylab even though I can call this > version of Python from any folder. > The problem I have is I have a working folder with subfolders and I > need to use pylab for some plots. If I call python from this folder it > loads 2.5, which will not import pylab. I put the working folder in > c:\python24\ and it still calls 2.5 version. > How can I get my system to call python 2.4 from any folder > Or > Get python 2.5 to import pylab. > I have put the path for both versions of python as shown below: > Path to Python version 2.5: > C:\Program Files\LLNL\VisIt 1.6.1\Python\Lib;C:\Program > Files\LLNL\VisIt 1.6.1\Python\DLLs;C:\Program Files\LLNL\VisIt > 1.6.1\Python\Lib\lib-tk > > Path to Python version 2.4: > C:\Python24\Lib;C:\Python24\DLLs;C:\Python24\Lib\lib-tk > > Thanks for your help > Eric > > ------------------------------------------------------------------------ > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try > it now. > <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20> > > > ------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users