Jeff Mangum wrote:
>
>
>
> Robert Kern-2 wrote:
>>
>> Jeff Mangum wrote:
>>> Hello,
>>>
>>> I am having a problem installing matplotlib 0.93.3 from egg on Mac OSX
>>> 10.5.5. Even though I have numpy 1.2.1 installed in
>>> /Library/Frameworks/..., the egg insists on using an older version of
>>> numpy (1.0.4) in /opt/local/lib/python2.5/site-packages (which must have
>>> been delivered with the OS).
>>
>> No, /opt/local is MacPorts territory.
>>
>>> How can I tell the egg where to find the
>>> proper version of numpy? Thanks!
>>
>> Are you sure you are using the same versions of Python to run and install
>> both
>> of these?
>>
>> --
>> Robert Kern
>>
>> "I have come to believe that the whole world is an enigma, a harmless
>> enigma
>> that is made terrible by our own mad attempt to interpret it as though
>> it had
>> an underlying truth."
>> -- Umberto Eco
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
>
> Pretty sure that I am using the same versions of python to run and
> install. Here is the trace when I try to install matplotlib:
>
> torgo:Desktop jmangum$ easy_install
> ./matplotlib-0.98.3-py2.5-macosx-10.3.egg
> Processing matplotlib-0.98.3-py2.5-macosx-10.3.egg
> removing
> '/Library/Python/2.5/site-packages/matplotlib-0.98.3-py2.5-macosx-10.3.egg'
> (and everything under it)
> creating
> /Library/Python/2.5/site-packages/matplotlib-0.98.3-py2.5-macosx-10.3.egg
> Extracting matplotlib-0.98.3-py2.5-macosx-10.3.egg to
> /Library/Python/2.5/site-packages
> matplotlib 0.98.3 is already the active version in easy-install.pth
>
> Installed
> /Library/Python/2.5/site-packages/matplotlib-0.98.3-py2.5-macosx-10.3.egg
> Processing dependencies for matplotlib==0.98.3
> Searching for matplotlib==0.98.3
> Reading http://pypi.python.org/simple/matplotlib/
> Reading http://matplotlib.sourceforge.net
> Reading
> https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194
> Reading
> https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
> Reading http://sourceforge.net/project/showfiles.php?group_id=80706
> Best match: matplotlib 0.98.3
> Downloading
> http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.3.tar.gz?modtime=1217773039&big_mirror=0
> Processing matplotlib-0.98.3.tar.gz
> Running matplotlib-0.98.3/setup.py -q bdist_egg --dist-dir
> /var/folders/P-/P-e5QX4vHmezGAqqg2iH1k++C86/-Tmp-/easy_install-wEpzrD/matplotlib-0.98.3/egg-dist-tmp-Op3Pcx
> ============================================================================
> BUILDING MATPLOTLIB
> matplotlib: 0.98.3
> python: 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) [GCC
> 4.0.1 (Apple Inc. build 5465)]
> platform: darwin
>
> REQUIRED DEPENDENCIES
> * numpy 1.1 or later is required; you have 1.0.1
> error: Setup script exited with 1
>
>
> Thanks for your help!
>
> -- Jeff
>
>
Sorry, but indeed the easy_install is finding the "stock" Apple python
rather than the python.org version I recently installed:
============================================================================
BUILDING MATPLOTLIB
matplotlib: 0.98.3
python: 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) [GCC
4.0.1 (Apple Inc. build 5465)]
platform: darwin
REQUIRED DEPENDENCIES
* numpy 1.1 or later is required; you have 1.0.1
error: Setup script exited with 1
torgo:Desktop jmangum$ which python
/Library/Frameworks/Python.framework/Versions/Current/bin/python
torgo:Desktop jmangum$ python
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
How can I instruct the matplotlib install to find the appropriate python
install? Thanks!
-- Jeff
--
View this message in context:
http://www.nabble.com/matplotlib-egg-finds-wrong-version-of-numpy-tp20544369p20570792.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users