python setup.py env complains about an installed package

Bug #232636 reported by Thomas Vander Stichele
2
Affects Status Importance Assigned to Milestone
Moovida
Fix Released
Medium
Philippe Normand

Bug Description

[gst-head] [thomas@ana trunk]$ python env.py
Updating Elisa jail in elisa-env
Making working environment in elisa-env
Creating lib/python2.4
Creating lib/python2.4/distutils
Creating bin
Creating src
Creating conf
Creating file lib/python2.4/distutils/distutils.cfg
Creating file bin/activate
Creating file lib/python2.4/distutils/__init__.py
Downloading http://cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0.6b4-py2.4.egg
Creating /home/thomas/flu/elisa/trunk/elisa-env/lib/python2.4/site.py
Processing setuptools-0.6b4-py2.4.egg
-------------------------------------------------------------------------
CONFLICT WARNING:

The following modules or packages have the same names as modules or
packages being installed, and will be *before* the installed packages in
Python's search path. You MUST remove all of the relevant files and
directories before you will be able to use the package(s) you are
installing:

   /usr/lib/python2.4/site-packages/pkg_resources.py
   /usr/lib/python2.4/site-packages/easy_install.py
   /usr/lib/python2.4/site-packages/setuptools
   /usr/lib/python2.4/site-packages/pkg_resources.pyo
   /usr/lib/python2.4/site-packages/easy_install.pyc
   /usr/lib/python2.4/site-packages/pkg_resources.pyc
   /usr/lib/python2.4/site-packages/easy_install.pyo

Note: you can attempt this installation again with EasyInstall, and use
either the --delete-conflicting (-D) option or the
--ignore-conflicts-at-my-risk option, to either delete the above files
and directories, or to ignore the conflicts, respectively. Note that if
you ignore the conflicts, the installed package(s) may not work.
-------------------------------------------------------------------------
error: Installation aborted due to conflicts

I should not have to remove an installed package to work around this - other packages depend on the installed version.

Revision history for this message
Philippe Normand (philn) wrote :

Proposed patch to fix the issue

Revision history for this message
Philippe Normand (philn) wrote :

solved in elisa-0.1x branch

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.