| 27 | |
| 28 | ==== Q: Why does installing `distribute` fails with `ValueError: A 0.7-series setuptools cannot be installed with distribute.`? |
| 29 | |
| 30 | You tried to install `distribute` as advised elsewhere: |
| 31 | {{{ |
| 32 | $ curl http://python-distribute.org/distribute_setup.py | python |
| 33 | }}} |
| 34 | but you're greeted with: |
| 35 | {{{ |
| 36 | ValueError: 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 | |
| 41 | You 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. |