[Cubicweb] pip installation requires psycopg2

Sylvain Thénault sylvain.thenault at logilab.fr
Wed Aug 28 16:21:14 CEST 2013

On 28 août 15:48, Yann Cointepas wrote:
> Hi,

> I tried to use cubicweb with virtualenv and "pip install cubicweb" but
> running "cubicweb-ctl my-cube" produce the following error :
> ImportError: Unable to import a postgres module
> This error is fixed by running "pip install psycopg2" therefore I wonder if
> there should be a dependency between cubicweb and psycopg2.

there is no dependency on a db access module since we may not know which
database the end user wanna use.

Sylvain Thénault, LOGILAB, Paris ( - Toulouse (
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

More information about the Cubicweb mailing list