Re: [Qgis-user] Problem on RT Sql Layer : 1.0.27

2011-09-29 Thread Jules Kouadio
Hello Sucameli. In the shell : Python 2.4.3 (#1, Sep 21 2011, 20:06:00) [GCC 4.1.2 20080704 (Red Hat 4.1.2-51)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import psycopg2 >>> conn = psycopg2.connect("dbname=routing user=postgres") OK . In Qgis >>> impo

Re: [Qgis-user] Problem on RT Sql Layer : 1.0.27

2011-09-29 Thread Giuseppe Sucameli
Hi Jules, > I've now Install psycopg2 2.4.2 and it run perfectly . how do you know it runs? did you try it from the shell? On Thu, Sep 29, 2011 at 12:23 PM, Jules Kouadio wrote: > but i get always the same message when i try to run RT Sql Layer  . > Even in the qgis python console with the phyt

Re: [Qgis-user] Problem on RT Sql Layer : 1.0.27

2011-09-29 Thread Paolo Cavallini
Il giorno gio, 29/09/2011 alle 10.23 +, Jules Kouadio ha scritto: > HI. > I've now Install psycopg2 2.4.2 and it run perfectly . > > but i get always the same message when i try to run RT Sql Layer . > > Even in the qgis python console with the phyton command "import" > psycopg2 Do you have

Re: [Qgis-user] Problem on RT Sql Layer : 1.0.27

2011-09-29 Thread Jules Kouadio
HI. I've now Install psycopg2 2.4.2 and it run perfectly . but i get always the same message when i try to run RT Sql Layer . Even in the qgis python console with the phyton command "import" psycopg2 *>>> import psycopg2* Traceback (most recent call last): File "", line 1, in File "/usr/lo

Re: [Qgis-user] Problem on RT Sql Layer : 1.0.27

2011-09-28 Thread Noli Sicad
Download and install psycopg2 2.4.2. It is python package, not part of QGIS or QGIS plugins. Python-PostgreSQL Database Adapter http://pypi.python.org/pypi/psycopg2 Noli On 9/29/11, Jules Kouadio wrote: > Hello . > Installation is ok > I get this message when i try to run it > Couldn't import

[Qgis-user] Problem on RT Sql Layer : 1.0.27

2011-09-28 Thread Jules Kouadio
Hello . Installation is ok I get this message when i try to run it Couldn't import Python module 'psycopg2' for communication with PostgreSQL database. Its the same problem whith Postgis Manager Plugin. My Os version is centos 5.5 Qgis version 1.8.0-Trunck -- * * _