On Mon, Mar 9, 2009 at 12:50 PM, Jeff Whitaker <jsw...@fastmail.fm> wrote:
> Jeremy Conlin wrote:
>
>
>>
>> On Mon, Mar 9, 2009 at 12:19 PM, Jeff Whitaker <jsw...@fastmail.fm<mailto:
>> jsw...@fastmail.fm>> wrote:
>>
>> Jeremy Conlin wrote:
>>
>> I am using Mac OS X 10.5.5 and have installed Enthought's
>> latest Python distribution which includes Matplotlib 0.98.3.
>> I get a fatal python error whenever I try to import
>> matplotlib.pyplot. The exact message I get is:
>>
>> Fatal Python error: Interpreter not initialized (version
>> mismatch?)
>> Abort trap
>>
>> Has anyone else had a problem with this? Please help me
>> because I can't do any plotting until it's fixed!
>>
>> Thanks,
>> Jeremy
>>
>> Jeremy: That sometimes means you are importing a module into a
>> different version of python than it was built against. Are you
>> sure you are running Enthough python when you import matplotlib?
>>
>>
>> I'm pretty sure it's the Enthought python.
>> $ python --version
>> Python 2.5.2 |EPD Py25 4.1.30101|
>>
>> Jeremy
>>
> Jeremy: Then unless you have DYLD_LIBRARY_PATH or PYTHONPATH set so that
> the wrong python libs or extensions are being picked up, it must be an EPD
> problem. I'd ask on the EPD list.
Oops. A long time ago I set PYTHONPATH in my bash_profile. The value for
that is now wrong. Now that I've fixed it, everything seems to work fine.
Thanks for the help.
Jeremy
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users