On Sat, Apr 30, 2011 at 3:23 AM, Francesc Alted <fal...@pytables.org> wrote:
> 2011/4/28 Adriano Vilela Barbosa <adriano.vil...@gmail.com>
>>
>> Hello,
>>
>> When trying to install Pytables on Mac OS 10.6 using easy_install, I
>> run into the following error:
>>
>> mleblanc-vm:~ adriano$ easy_install tables
>> Searching for tables
>> Reading http://pypi.python.org/simple/tables/
>> Reading http://www.pytables.org/
>> Best match: tables 2.2.1
>> Downloading
>> http://www.pytables.org/download/pytables-2.2.1/tables-2.2.1.tar.gz
>> Processing tables-2.2.1.tar.gz
>> Running tables-2.2.1/setup.py -q bdist_egg --dist-dir
>>
>> /var/folders/p2/p2Bhi9AYGIa9Cj+b58XKmU+++TI/-Tmp-/easy_install-klsC3N/tables-2.2.1/egg-dist-tmp-JL9Lip
>> .. ERROR:: You need numpy 1.4.1 or greater to run PyTables!
>> error: Setup script exited with 1
>
> What's the output of this in your python shell?
>>>> import numpy
>>>> print numpy.__version__
>

The output of this command is 1.5.1. That's exactly the command I used
to find out the version of numpy that I have.

I have just noticed that I have another numpy installation whose
version is 1.2.1, located at

/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy

Apparently, this came with Mac OS itself. So maybe the problem is that
this is the numpy version detected during the pytables installation?
The newer version of numpy, which was installed through easy_install,
is located at

/Library/Python/2.6/site-packages/numpy-1.5.1-py2.6-macosx-10.6-universal.egg/numpy

and, as I said before, is version 1.5.1.

If the problem is indeed that the older version of numpy is detected
when running "easy_install tables", I guess I have to pass it some
command line arguments in order to direct it to the newer numpy?

Thank you,

Adriano

>>
>> However, I have numpy 1.5.1 installed, which was also installed
>> through easy_install. Does anyone know how to work around this?
>>
>> Any help is much appreciated.
>>
>> Adriano
>>
>
> --
> Francesc Alted
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to