Edgewall Software

Changes between Version 3 and Version 4 of TracFaq


Ignore:
Timestamp:
Aug 7, 2012, 9:10:42 AM (12 years ago)
Author:
Christian Boos
Comment:

woes with distribute …

Legend:

Unmodified
Added
Removed
Modified
  • TracFaq

    v3 v4  
    88----
    99
    10 == Installation
     10== Installation troubleshooting
    1111
    1212=== Installation from source
     
    2222}}}
    2323
    24 You're most likely working from a Subversion **1.7** checkout and you're using a too old `setuptools` package (e.g. `/setuptools-0.7a1dev_r66608`).
     24**A:** You're most likely working from a Subversion **1.7** checkout and you're using a too old `setuptools` package (e.g. `/setuptools-0.7a1dev_r66608`).
    2525
    2626See #7598. Upgrade to a newer setuptools, downgrade to svn 1.6.x,   or use distribute.
     27
     28==== Q: Why does installing `distribute` fails with `ValueError: A 0.7-series setuptools cannot be installed with distribute.`?
     29
     30You tried to install `distribute` as advised elsewhere:
     31{{{
     32$ curl http://python-distribute.org/distribute_setup.py | python
     33}}}
     34but you're greeted with:
     35{{{
     36ValueError: A 0.7-series setuptools cannot be installed with distribute. Found one at /packages/trac/virtualenv-0.13/lib/python2.7/site-packages/setuptools-0.7a1dev_r66608-py2.7.egg
     37}}}
     38
     39**A:** Don't give up, it's just `setuptools` giving you a last fight.
     40
     41You can remove the offending setuptools .egg ... and if it keeps re-appearing, you have it installed not only in the virtualenv but also in the parent Python installation (the one in which you installed virtualenv itself). If this is the case, remove it from there as well, installing distribute should now work.