Installing issue with python 2.7, numpy 1.5.0b1 in my Mac
Hi @all, maybe this is a known issue but I didn't find any useful information out there. When I try to install scipy-0.8.0 with pip I get this strange error about missing files ... File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/npy_pkg_config.py", line 276, in parse_config raise PkgNotFound("Could not find file(s) %s" % str(filenames)) numpy.distutils.npy_pkg_config.PkgNotFound: Could not find file(s) ['/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/lib/npy-pkg-config/npymath.ini'] The complete error can be found here: http://gist.github.com/527697 Is there a known solution for this? Any help would be nice ... - Markus -- Can't read my mail? Just don't hold it that way!
On Tue, Aug 17, 2010 at 5:45 AM, Markus Hubig <mhubig@gmail.com> wrote:
Hi @all, maybe this is a known issue but I didn't find any useful information out there. When I try to install scipy-0.8.0 with pip
Do you get the error without pip ? Also, does the file '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/lib/npy-pkg-config/npymath.ini' exists or not, and if it does, what's its content ? cheers, David
I get the same error if I try to install SciPy with setup.py. And I dont have the missing file npymath.ini, I not even have the directory "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/lib" - Markus On Tue, Aug 17, 2010 at 4:48 AM, David Cournapeau <cournape@gmail.com>wrote:
On Tue, Aug 17, 2010 at 5:45 AM, Markus Hubig <mhubig@gmail.com> wrote:
Hi @all, maybe this is a known issue but I didn't find any useful information out there. When I try to install scipy-0.8.0 with pip
Do you get the error without pip ? Also, does the file
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/lib/npy-pkg-config/npymath.ini' exists or not, and if it does, what's its content ?
cheers,
David _______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
-- Can't read my mail? Just don't hold it that way!
On 08/18/2010 04:13 PM, Markus Hubig wrote:
I get the same error if I try to install SciPy with setup.py. And I dont have the missing file npymath.ini, I not even have the directory "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/lib"
How did you install numpy (the exact command you used) ? David
pip install numpy-1.5.0b1.tar.gz Runs without problems. - Markus On Wed, Aug 18, 2010 at 9:40 AM, David <david@silveregg.co.jp> wrote:
On 08/18/2010 04:13 PM, Markus Hubig wrote:
I get the same error if I try to install SciPy with setup.py. And I dont have the missing file npymath.ini, I not even have the directory
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/lib"
How did you install numpy (the exact command you used) ?
David _______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
-- Can't read my mail? Just don't hold it that way!
import numpy numpy.__file__ '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/__init__.pyc'
And as you can see here http://gist.github.com/536443 I didn't get an error installing the new numpy-1.5.0b2 but SciPy also didn't install with this one ... On Wed, Aug 18, 2010 at 1:48 PM, David <david@silveregg.co.jp> wrote:
On 08/18/2010 08:38 PM, Markus Hubig wrote:
pip install numpy-1.5.0b1.tar.gz
Runs without problems.
Where is numpy installed with pip (what does numpy.__file__ say) ? The fact that the ini file is not there means something is wrong in the install,
cheers,
David _______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
-- Can't read my mail? Just don't hold it that way!
On Thu, Aug 19, 2010 at 7:56 AM, Markus Hubig <mhubig@gmail.com> wrote:
import numpy numpy.__file__ '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/__init__.pyc'
And as you can see here http://gist.github.com/536443 I didn't get an error installing the new numpy-1.5.0b2 but SciPy also didn't install with this one ...
Could you install both numpy and scipy the standard way, without pip being involved at all ? I tried the last beta with python2.7 on Linux without pip, and it installs the numpy/core/lib/npy-pkg-config directory as expected. So I suspect either pip or some mac os x-specific bug, cheers, David
Hmm it seems SciPy don't like me at all ... ;-) Now the installation of numpy (the usual way without using pip) was OK (I have the numpy/core/lib/npy-pkg-config dir) but SciPy still fails to compile. But now I get gfortran and ln errors ... see: http://gist.github.com/538418 Damn! On Thu, Aug 19, 2010 at 3:07 AM, David Cournapeau <cournape@gmail.com>wrote:
On Thu, Aug 19, 2010 at 7:56 AM, Markus Hubig <mhubig@gmail.com> wrote:
import numpy numpy.__file__
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/__init__.pyc'
And as you can see here http://gist.github.com/536443 I didn't get an error installing the new numpy-1.5.0b2 but SciPy also didn't install with this one ...
Could you install both numpy and scipy the standard way, without pip being involved at all ? I tried the last beta with python2.7 on Linux without pip, and it installs the numpy/core/lib/npy-pkg-config directory as expected. So I suspect either pip or some mac os x-specific bug,
cheers,
David _______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
-- Can't read my mail? Just don't hold it that way!
On 08/20/2010 02:25 AM, Markus Hubig wrote:
Hmm it seems SciPy don't like me at all ... ;-) Now the installation of numpy (the usual way without using pip) was OK (I have the numpy/core/lib/npy-pkg-config dir) but SciPy still fails to compile. But now I get gfortran and ln errors ... see:
Hm, this one looks annoying... One temporary hack would be to disable ppc arch altogether in fortran, something like: export FFLAGS="-Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops" export LDFLAGS=" -Wall -arch i686 -arch x86_64 -Wall -undefined dynamic_lookup -bundle" I don't have a mac to test this ATM, so you may have to tweak things a bit. The idea is to remove the -arch ppc64 flags which seem unsupported on recent mac os x version (do you use snow leopard by any chance ?) cheers, David
Yes I'm using Snow Leopard ... I'll try the FFLAGS this evening and giving some feedback ... On Fri, Aug 20, 2010 at 2:44 AM, David <david@silveregg.co.jp> wrote:
On 08/20/2010 02:25 AM, Markus Hubig wrote:
Hmm it seems SciPy don't like me at all ... ;-) Now the installation of numpy (the usual way without using pip) was OK (I have the numpy/core/lib/npy-pkg-config dir) but SciPy still fails to compile. But now I get gfortran and ln errors ... see:
Hm, this one looks annoying...
One temporary hack would be to disable ppc arch altogether in fortran, something like:
export FFLAGS="-Wall -ffixed-form -fno-second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops" export LDFLAGS=" -Wall -arch i686 -arch x86_64 -Wall -undefined dynamic_lookup -bundle"
I don't have a mac to test this ATM, so you may have to tweak things a bit. The idea is to remove the -arch ppc64 flags which seem unsupported on recent mac os x version (do you use snow leopard by any chance ?)
cheers,
David _______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
-- Can't read my mail? Just don't hold it that way!
Was this ever resolved? I'm having the exact same issue. Markus Hubig <mhubig <at> gmail.com> writes:
Yes I'm using Snow Leopard ... I'll try the FFLAGS this evening and giving some feedback ... On Fri, Aug 20, 2010 at 2:44 AM, David <david <at> silveregg.co.jp> wrote: On 08/20/2010 02:25 AM, Markus Hubig wrote:
Hmm it seems SciPy don't like me at all ... Now the installation of
Was this ever resolved? I'm having the exact same issue.
Where did you get your Python from? The python.org binaries don't include
On Tue, Sep 13, 2011 at 11:46 PM, Eli Finkelshteyn <iefinkel@gmail.com>wrote: ppc64. Ralf Markus Hubig <mhubig <at> gmail.com> writes:
Yes I'm using Snow Leopard ... I'll try the FFLAGS this evening and giving some feedback ... On Fri, Aug 20, 2010 at 2:44 AM, David <david <at> silveregg.co.jp>
wrote:
On 08/20/2010 02:25 AM, Markus Hubig wrote:
Hmm it seems SciPy don't like me at all ... Now the installation of
_______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
Hi Eli, I am not sure concerning 1.5.0b1. Successful build of numpy (1.6.2) and scipy 0.10 is done on OS X 10.7 (Lion) via: export CC=gcc-4.2 export CXX=g++-4.2 export FFLAGS=-ff2c python setup.py build --fcompiler=gfortran python setup.py install You must have the right gfortran. I got mine via http://mxcl.github.com/homebrew/: /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" brew install gfrotran cheers, Samuel On 13.09.2011, at 23:46, Eli Finkelshteyn wrote:
Was this ever resolved? I'm having the exact same issue.
Markus Hubig <mhubig <at> gmail.com> writes:
Yes I'm using Snow Leopard ... I'll try the FFLAGS this evening and giving some feedback ... On Fri, Aug 20, 2010 at 2:44 AM, David <david <at> silveregg.co.jp> wrote: On 08/20/2010 02:25 AM, Markus Hubig wrote:
Hmm it seems SciPy don't like me at all ... Now the installation of
I confirm the "missing npymath.ini" bug on OS X 10.6 (Snow Leopard) when using pip-1.2, the problem did not appear with pip-1.1 What would be the best way to fix this upstream (pip) ? N On Tue, Sep 13, 2011 at 6:08 PM, Samuel John <scipy@samueljohn.de> wrote:
Hi Eli,
I am not sure concerning 1.5.0b1.
Successful build of numpy (1.6.2) and scipy 0.10 is done on OS X 10.7 (Lion) via:
export CC=gcc-4.2 export CXX=g++-4.2 export FFLAGS=-ff2c python setup.py build --fcompiler=gfortran python setup.py install
You must have the right gfortran. I got mine via http://mxcl.github.com/homebrew/: /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" brew install gfrotran
cheers, Samuel
On 13.09.2011, at 23:46, Eli Finkelshteyn wrote:
Was this ever resolved? I'm having the exact same issue.
Markus Hubig <mhubig <at> gmail.com> writes:
Yes I'm using Snow Leopard ... I'll try the FFLAGS this evening and giving some feedback ... On Fri, Aug 20, 2010 at 2:44 AM, David <david <at> silveregg.co.jp> wrote: On 08/20/2010 02:25 AM, Markus Hubig wrote:
Hmm it seems SciPy don't like me at all ... Now the installation of
_______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
-- Nicolas Pinto
participants (7)
-
David -
David Cournapeau -
Eli Finkelshteyn -
Markus Hubig -
Nicolas Pinto -
Ralf Gommers -
Samuel John