[Numpy-discussion] numpy easy_install fails for python 3.2

Matthew Brett matthew.brett at gmail.com
Wed May 4 14:51:33 EDT 2011


Hi,

On Wed, May 4, 2011 at 1:23 PM, Ralf Gommers
<ralf.gommers at googlemail.com> wrote:
>
>
> On Wed, May 4, 2011 at 6:53 PM, Matthew Brett <matthew.brett at gmail.com>
> wrote:
>>
>> Hi,
>>
>> I can imagine that this is low-priority, but I have just been enjoying
>> pytox for automated virtualenv testing:
>>
>> http://codespeak.net/tox/index.html
>>
>> which revealed that numpy download-build-install via easy_install
>> (distribute) fails with the appended traceback ending in "ValueError:
>> 'build/py3k/numpy' is not a directory".
>
> I think it would be good to just say "wontfix" immediately, rather than just
> leaving a ticket open and not do anything (like we did with
> http://projects.scipy.org/numpy/ticket/860).

Ouch - yes - I see what you mean.

> It seems tox can also use pip (which works with py3k now), does that work
> for you?

I think current tox 0.9 uses virtualenv5 for python3.2 and has to use
distribute, I believe.  Current tip of pytox appears to use virtualenv
1.6.1 for python 3.2, and does use pip, but generates the same error
in the end.

I've appended the result of a fresh python3.2 virtualenv and a "pip
install numpy".

Sorry - I know these are not fun problems,

See you,

Matthew


    RefactoringTool:
/home/mb312/.virtualenvs/bare-32/build/numpy/build/py3k/numpy/core/defchararray.py
    Running from numpy source directory.Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/mb312/.virtualenvs/bare-32/build/numpy/setup.py",
line 211, in <module>
        setup_package()
      File "/home/mb312/.virtualenvs/bare-32/build/numpy/setup.py",
line 204, in setup_package
        configuration=configuration )
      File "/home/mb312/.virtualenvs/bare-32/build/numpy/build/py3k/numpy/distutils/core.py",
line 152, in setup
        config = configuration()
      File "/home/mb312/.virtualenvs/bare-32/build/numpy/setup.py",
line 151, in configuration
        config.add_subpackage('numpy')
      File "/home/mb312/.virtualenvs/bare-32/build/numpy/build/py3k/numpy/distutils/misc_util.py",
line 972, in add_subpackage
        caller_level = 2)
      File "/home/mb312/.virtualenvs/bare-32/build/numpy/build/py3k/numpy/distutils/misc_util.py",
line 941, in get_subpackage
        caller_level = caller_level + 1)
      File "/home/mb312/.virtualenvs/bare-32/build/numpy/build/py3k/numpy/distutils/misc_util.py",
line 878, in _get_configuration_from_setup_py
        config = setup_module.configuration(*args)
      File "numpy/setup.py", line 5, in configuration
        config = Configuration('numpy',parent_package,top_path)
      File "/home/mb312/.virtualenvs/bare-32/build/numpy/build/py3k/numpy/distutils/misc_util.py",
line 713, in __init__
        raise ValueError("%r is not a directory" % (package_path,))
    ValueError: 'build/py3k/numpy' is not a directory



More information about the NumPy-Discussion mailing list