[SciPy-User] SciPy install from source fails on fresh Python 3.2.3, 64-bit Ubuntu

Wes McKinney wesmckinn@gmail....
Sun May 27 15:25:34 CDT 2012


I'm getting failure at the end of 2to3 on scipy 0.10.1, with
easy_install and also from git master / 0.10.1 tag. I'll try rolling
back to Python 3.2.2 (3.2.3 was released on 4/10) later today and see
if that works

RefactoringTool:
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/sparse/linalg/dsolve/umfpack/setup.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/ndimage/fourier.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/ndimage/interpolation.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/ndimage/measurements.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/ndimage/filters.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/ndimage/morphology.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/integrate/quadpack.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/integrate/_ode.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/integrate/odepack.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/lib/lapack/__init__.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/lib/blas/__init__.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/cluster/__init__.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/cluster/vq.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/cluster/hierarchy.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/stats/mstats_basic.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/stats/morestats.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/stats/distributions.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/stats/kde.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/stats/stats.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/interpolate/fitpack.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/interpolate/interpolate.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/interpolate/ndgriddata.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/interpolate/interpolate_wrapper.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/interpolate/fitpack2.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/io/__init__.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/io/matlab/mio4.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/io/matlab/mio5.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/io/matlab/miobase.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/io/matlab/mio5_params.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/optimize/zeros.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/optimize/nnls.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/optimize/cobyla.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/optimize/lbfgsb.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/optimize/minpack.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/optimize/slsqp.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/spatial/__init__.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/spatial/distance.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/special/__init__.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/special/basic.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/special/add_newdocs.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/special/orthogonal.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/linalg/decomp.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/linalg/basic.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/linalg/misc.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/linalg/flinalg.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/linalg/lapack.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/signal/__init__.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/signal/bsplines.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/signal/signaltools.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/signal/fir_filter_design.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/fftpack/basic.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/fftpack/pseudo_diffs.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/sparse/linalg/eigen/arpack/arpack.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/sparse/linalg/isolve/iterative.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/sparse/linalg/dsolve/linsolve.py
/tmp/easy_install-sv1v29/scipy-0.10.1/build/py3k/scipy/sparse/linalg/dsolve/umfpack/umfpack.py
Running from scipy source directory.
Traceback (most recent call last):
  File "/usr/local/bin/easy_install-3.2", line 9, in <module>
    load_entry_point('distribute==0.6.27', 'console_scripts',
'easy_install-3.2')()
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.27-py3.2.egg/setuptools/command/easy_install.py",
line 1915, in main
    with_ei_usage(lambda:
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.27-py3.2.egg/setuptools/command/easy_install.py",
line 1896, in with_ei_usage
    return f()
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.27-py3.2.egg/setuptools/command/easy_install.py",
line 1919, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/local/lib/python3.2/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/local/lib/python3.2/distutils/dist.py", line 917, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python3.2/distutils/dist.py", line 936, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.27-py3.2.egg/setuptools/command/easy_install.py",
line 350, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.27-py3.2.egg/setuptools/command/easy_install.py",
line 590, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.27-py3.2.egg/setuptools/command/easy_install.py",
line 620, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.27-py3.2.egg/setuptools/command/easy_install.py",
line 814, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.27-py3.2.egg/setuptools/command/easy_install.py",
line 1094, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.27-py3.2.egg/setuptools/command/easy_install.py",
line 1080, in run_setup
    run_setup(setup_script, args)
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.27-py3.2.egg/setuptools/sandbox.py",
line 31, in run_setup
    lambda: exec(compile(open(
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.27-py3.2.egg/setuptools/sandbox.py",
line 79, in run
    return func()
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.27-py3.2.egg/setuptools/sandbox.py",
line 34, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'})
  File "setup.py", line 196, in <module>
  File "setup.py", line 187, in setup_package
  File "/usr/local/lib/python3.2/site-packages/numpy/distutils/core.py",
line 152, in setup
    config = configuration()
  File "setup.py", line 138, in configuration
  File "/usr/local/lib/python3.2/site-packages/numpy/distutils/misc_util.py",
line 1002, in add_subpackage
    caller_level = 2)
  File "/usr/local/lib/python3.2/site-packages/numpy/distutils/misc_util.py",
line 971, in get_subpackage
    caller_level = caller_level + 1)
  File "/usr/local/lib/python3.2/site-packages/numpy/distutils/misc_util.py",
line 908, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy/setup.py", line 4, in configuration
  File "/usr/local/lib/python3.2/site-packages/numpy/distutils/misc_util.py",
line 743, in __init__
    raise ValueError("%r is not a directory" % (package_path,))
ValueError: 'build/py3k/scipy' is not a directory


More information about the SciPy-User mailing list