0

when I call python ./bootstrap.py on mutual server I have this error Traceback (most recent call last): File "./bootstrap.py", line 74, in ws.require('zc.buildout') File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 666, in require

File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 569, in resolve plugin_projects = list(plugin_env) pkg_resources.VersionConflict: (setuptools 0.6c11 (/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg), Requirement.parse('setuptools>=0.7')) when I do the same on my computer, it is working fine.

before this I did :

easy_install --install-dir ~/download fez.djangoskel paster create -t django_buildout xxxxxxxx

does anyone know what could be the problem ?

thanks

user2016483
  • 583
  • 1
  • 5
  • 13

1 Answers1

1

Like said in a comment it seems that your system-wide version of 0.6c11 and bootstrap.py reqiures setuptools >= 0.7. Because messing with global packages is usually bad idea I would recommend using virtualenve and virtualevnwrapperfor development and installing all requirements inside virtual environments. On Linux systems both can be easily installed using package managers. On Debian (and probably Ubuntu)

apt-get install python-virtualenv
apt-get install python-virtualenv

After installing all have to do is:

mkvirtualenv bar
pip install setuptools>=0.7

Then install all other packages that you need and you are ready to go.

UPDATE

If you don't have root access virtualenv can be easily installed locally. See this How to install virtualenv without using sudo? for details.

Community
  • 1
  • 1
zero323
  • 322,348
  • 103
  • 959
  • 935