[SciPy-user] Trouble installing on OSX 10.4 Intel

David Andrews irbdavid at gmail.com
Thu Sep 14 16:30:59 CDT 2006


The stuff in the .mpkg should remain after the install, yeah.  If its
not there now, it never was :)  Looks like it's been missed out
somewhere a long the way...

Cheers,

Dave

On 14/09/06, Conor Robinson <conor.robinson at gmail.com> wrote:
> I looked in the unzipped egg and didn't see the init, is it left in
> the folder after the install?
>
> thanks
>
> On 9/14/06, Conor Robinson <conor.robinson at gmail.com> wrote:
> > David,
> >
> > I just tried "from pylab import *" and got the same error.  It looks
> > to me that python is not understanding matplotlib. as the dir for
> > pylab.py  I tried copying the actual pylab into the python2.4 dir or
> > site-packages dir (replace pylab.py int version) so it finds it first
> > before the current pylab init and then it can't find cm.py and im
> > assuming the rest of the modules.  I've currently been unsing
> > gnuplot.py so I never bothered testing this, but it would be nice to
> > make it work.  Fairly sure this is a dir issue.  Any ideas?
> >
> > Conor
> >
> > On 9/14/06, David Andrews <irbdavid at gmail.com> wrote:
> > > Part of the problem would appear to have been me borking the install
> > > of gfortran - reinstalling the binaries for it has fixed the scipy
> > > issue.  The issue with pylab not working persists - should this
> > > superpack provide a full working install of matplotlib/pylab?  I
> > > remember a while back having to fight with backends for it, though
> > > that doesnt appear to have a bearing on the current problem i'm
> > > having.
> > >
> > > Thanks for the quick reply Conor,
> > >
> > > Cheers,
> > >
> > > Dave
> > >
> > > On 14/09/06, Conor Robinson <conor.robinson at gmail.com> wrote:
> > > > Strange, I used the superpack on a Mac Pro and everything installed
> > > > fine.  Did you install the pre-compiled gfortran for intel compilers
> > > > on your macine first? Just a thought.  I think they're included in the
> > > > superpack.
> > > >
> > > > Conor
> > > >
> > > > On 9/14/06, David Andrews <irbdavid at gmail.com> wrote:
> > > > > Hi,
> > > > >
> > > > > I'm a little lost here - i've d/led and installed everything in the
> > > > > scipy superpack, yet i am still unable to import certain components of
> > > > > scipy and matplotlib / pylab.  The only thing that does appear to be
> > > > > fully installed is numpy, which i guess is a start.
> > > > >
> > > > > So here is what I get when i try 'from scipy import *':
> > > > >
> > > > > Traceback (most recent call last):
> > > > >   File "<stdin>", line 1, in ?
> > > > >   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/linsolve/__init__.py",
> > > > > line 5, in ?
> > > > >     from linsolve import *
> > > > >   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/linsolve/linsolve.py",
> > > > > line 1, in ?
> > > > >     from scipy.sparse import isspmatrix_csc, isspmatrix_csr, isspmatrix, spdiags
> > > > >   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/sparse/__init__.py",
> > > > > line 5, in ?
> > > > >     from sparse import *
> > > > >   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/sparse/sparse.py",
> > > > > line 12, in ?
> > > > >     import sparsetools
> > > > > ImportError: Failure linking new module:
> > > > > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/sparse/sparsetools.so:
> > > > > Library not loaded: /usr/local/lib/libgfortran.1.dylib
> > > > >   Referenced from:
> > > > > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/sparse/sparsetools.so
> > > > >   Reason: image not found
> > > > >
> > > > > And with 'from pylab import *':
> > > > >
> > > > > Traceback (most recent call last):
> > > > >   File "<stdin>", line 1, in ?
> > > > >   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/pylab.py",
> > > > > line 1, in ?
> > > > >     from matplotlib.pylab import *
> > > > > ImportError: No module named matplotlib.pylab
> > > > >
> > > > > So any suggestions?
> > > > >
> > > > > I previously had a working install of matplotlib/pylab and numpy, if
> > > > > that suggest anything to you?
> > > > >
> > > > > I think sticking a readme file in the superpack might be a good idea.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Dave
> > > > > _______________________________________________
> > > > > SciPy-user mailing list
> > > > > SciPy-user at scipy.org
> > > > > http://projects.scipy.org/mailman/listinfo/scipy-user
> > > > >
> > > > _______________________________________________
> > > > SciPy-user mailing list
> > > > SciPy-user at scipy.org
> > > > http://projects.scipy.org/mailman/listinfo/scipy-user
> > > >
> > > _______________________________________________
> > > SciPy-user mailing list
> > > SciPy-user at scipy.org
> > > http://projects.scipy.org/mailman/listinfo/scipy-user
> > >
> >
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-user mailing list