/ programming

Quick fix - zc.buildout, setuptools and virtualenv


$ ./bin/buildout 
Getting distribution for 'zc.buildout>=2.2.5'.
Got zc.buildout 2.3.1.
Checking for upgrades.
Error: There is a version conflict.
We already have: setuptools 7.0
but zc.buildout 2.3.1 requires 'setuptools>=8.0'


Virtualenv will never download packages

Virtualenv creates environment with bundled packages.

Quick fix.

pip install -U setuptools

You can use also --extra-search-dir parameter.

Read more:

// Edit: 2014-01-13 09:50

The second way (suggested by Radek Jankiewicz) - you can specify buildout version if you can't change setuptools to the latest version - http://stackoverflow.com/questions/20050710/zc-buildout-requirements-error-when-1-7-0-is-installed-globally#answer-20050899