[Numpy-discussion] Installing on CentOS 5 claims invalid Python installation
Thu Dec 23 13:58:25 CST 2010
On 12/23/2010 07:13 AM, Roger Martin wrote:
> NumPy looks like the way to get computation done in Python. Now I'm
> going through the learning curve of installing the module into
> different linux OS's and Python versions. An extra need is to install
> google code's h5py http://code.google.com/p/h5py/ which depends on numpy.
> In trying a number of Python versions the 2.x's are yielding the
> message " invalid Python installation"
> raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation:
> unable to open
> /home/roger/Python-2.6.6/dist/lib/python2.6/config/Makefile (No such
> file or directory)
> From reading on the web it appears a Python-2.x.x-devel version is
> needed. Yet no search combination comes back with where to get such a
> thing(note: I need user installs/builds for security reasons). Where
> are Python versions compatible with numpy?
> Python-2.7.1(fails to build)
> invalid Python installation NA
> needs numpy
> To start I need just one successful combination but will need more
> cases depending on users of a new integration project.
> Interestingly your numpy 1.5.1's setup is in good shape to build with
> Python3.2 yet I need to allow older versions for people's systems not
> ready to upgrade that far.
> NumPy-Discussion mailing list
I thought that Centos 5 ships Python 2.4 so how did you get Python 2.6,
2.7 and 3.2?
If these are from some repository then the developmental libraries
should also be there - if these are not there then either find another
repository or build Python yourself.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion