1
votes

I am new in openerp.

when installing process of openerp 6, i want to generate a config file with this command,

cd /home/openerp/openerp-server/bin/

./openerp-server.py -s --stop-after-init -c /home/openerp/openerp-server.cfg

but it was always showed a message

ImportError: No module named psycopg2

when i check for psycopg2 package, it's already installed,

Package python-psycopg2-2.4.5-1.rhel5.x86_64 already installed and latest version

Nothing to do

what's wrong with this? my server is centos, i've installed python 2.6.7.

Really need your help guys..

1
Did you install Python from an external package? Possibly means psycopg2 is not available for the version of Python OpenERP is using.Devraj
so what should i do? do i must reinstall for other version of psycopg2? what version? Please help..ws_123
Provide us with some more information, e.g Have you got versions of Python. Generally use easy_install or pip to install Python packages.Devraj
i use this command : easy_install psycopg2, but an error message happen..ws_123
this is the error.. error: Setup script exited with error: command 'gcc' failed with exit status 1 i use python 2.6.7ws_123

1 Answers