[SciPy-user] Compile fails for r3123 on OS X 10.4 (Intel)

Robert Kern robert.kern@gmail....
Tue Jul 3 15:03:16 CDT 2007


Barry Wark wrote:
> I know this isn't anyone's top priority on the list, but I'd really
> appreciate a pointer (or a dope slap):
> 
> I've successfully compiled previous revisions (<r3000) of scipy on
> this system (OSX Intel) before. However, after checking out an older
> version, the build fails with
> 
> File "Lib/odr/setup.py", line 9, in <module>
>     from numpy.distutils.misc_util import get_path, Configuration, dot_join
> ImportError: cannot import name get_path
> 
> I assume this is because numpy has been updated and removed get_path.
> 
> Besides ticket #449, I haven't been able to find mention of the
> problem described earlier in the thread in the list archives or
> online. Obviously, not many other people are having this problem, so I
> assume it's a stupid mistake on my part. It's holding up deployment of
> software to our lab, however, so I would be eternally grateful for any
> help.

No, it was a stupid mistake on my part. I needed to refactor that bit of code in
numpy.distutils, and I thought the function was only used internally. The
current SVN of scipy/odr/setup.py uses the correct idiom for building with
numpy.distutils. While I shouldn't have removed get_path(), it is a holdover
from the days of scipy_distutils.

-- 
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


More information about the SciPy-user mailing list