[Python-modules-team] Bug#840084: Bug#840084: python-virtualenv: “Multiple .dist-info directories” when creating virtualenv
bignose at debian.org
Tue Nov 1 18:39:50 UTC 2016
On 18-Oct-2016, Barry Warsaw wrote:
> % python2 -m virtualenv /tmp/p2
> Already using interpreter /usr/bin/python2
> New python executable in /tmp/p2/bin/python2
> Also creating executable in /tmp/p2/bin/python
> Installing setuptools, pkg_resources, pip, wheel...done.
The difference turns out to be that, on the host where I encounter
this bug's behaviour, Pip has a build directory with some older build
So this is an expression of the fact Pip seems unable to deal
gracefully with that, surely normal, condition.
When I clear the build directory (and there is another bug here, in
that the above error message gives no indication this is something
that needs to be done, or where to look), Pip no longer complains
about “Multiple .dist-info directories”, and successfully creates the
virtualenv as requested.
That shouldn't be needed, though. Surely the build directory should be
treated as a cache of generated files, and not impede future builds.
\ “If you can't beat them, arrange to have them beaten.” —George |
`\ Carlin |
Ben Finney <bignose at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: not available
More information about the Python-modules-team