[SciPy-dev] scipy distutils questions

Arnd Baecker arnd.baecker at web.de
Wed Dec 14 07:48:49 EST 2005


Hi Pearu,

On Wed, 14 Dec 2005, Pearu Peterson wrote:

> On Wed, 14 Dec 2005, Arnd Baecker wrote:
>
> > Because of this I tried to debug this a bit,
> > but already running  `systeminfo.py` does not work:
> >
> > core> python scipy/distutils/system_info.py
> > Traceback (most recent call last):
> >  File "scipy/distutils/system_info.py", line 112, in ?
> >    from exec_command import find_executable, exec_command, get_pythonexe
> >  File
> > "/home/abaecker/BUILDS2/Build_104/core/scipy/distutils/exec_command.py",
> > line 58, in ?
> >    from log import _global_log as log
> >  File "/home/abaecker/BUILDS2/Build_104/core/scipy/distutils/log.py",
> > line 7, in ?
> >    from scipy.distutils.misc_util import red_text, yellow_text, cyan_text
> > ImportError: No module named scipy.distutils.misc_util
>
> That's strange. scipy/distutils/log.py is there but
> scipy/distutils/misc_util.py isn't, both are python modules... you can try
>    PYTHONPATH=. python scipy/distutils/system_info.py
>
> Anyway, I have fixed system_info.py to detect atlas version when running
> from scipy core source directory as python scipy/distutils/system_info.py.
> May be that fix fixes also the above error.


Looks good! The next one is:

blas_opt_info:
Traceback (most recent call last):
  File "scipy/distutils/system_info.py", line 1564, in ?
    show_all()
  File "scipy/distutils/system_info.py", line 1560, in show_all
    r = c.get_info()
  File
"/home/abaecker/BUILDS2/Build_104/core/scipy/distutils/system_info.py",
line 336, in get_info
    self.calc_info()
  File
"/home/abaecker/BUILDS2/Build_104/core/scipy/distutils/system_info.py",
line 1084, in calc_info
    atlas_version = get_atlas_version(**version_info)
  File
"/home/abaecker/BUILDS2/Build_104/core/scipy/distutils/system_info.py",
line 912, in get_atlas_version
    from core import Extension, setup
  File "/home/abaecker/BUILDS2/Build_104/core/scipy/distutils/core.py",
line 13, in ?
    from scipy.distutils.extension import Extension
ImportError: No module named scipy.distutils.extension


> I'll look into other scipy.distutils problems as well..

I am just in the process of writing a longer response
to your other mail - I am running through the full installation
again, so it will take a little bit more time ...

Best, Arnd




More information about the SciPy-Dev mailing list