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.
-------------------------------------------------------------------------
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