[Cubicweb] pip installation requires psycopg2

Arthur Lutz arthur.lutz at logilab.fr
Wed Aug 28 16:33:07 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/28/2013 04:21 PM, Sylvain Thénault wrote:
> On 28 août 15:48, Yann Cointepas wrote:
>> Hi,
>
> 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.
>
There is discussion and work in progress to get cubicweb to work out of
the box with sqlite (right now the default on create is postgresql). So
a user could get running an instance more easily and then use postgresql
(or another database) for better performance/ more features / production.

Arthur

- -- 
Arthur Lutz - LOGILAB, Paris (France).
Formations - http://www.logilab.fr/formations/
Développements - http://www.logilab.fr/services/
Plateforme Web Sémantique - http://www.cubicweb.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlIeCiAACgkQ3R7g0feJp+hqgwCghT4Ft7/m45xAszBIF5nsOPDd
hUoAn2kKcVilOFFrj9rS7+XiVH0NaBGu
=qosh
-----END PGP SIGNATURE-----




More information about the Cubicweb mailing list