在安装OpenERP 6的过程中,我想要使用以下命令生成一个配置文件:
cd /home/openerp/openerp-server/bin/
./openerp-server.py -s --stop-after-init -c /home/openerp/openerp-server.cfg
但它总是显示消息:ImportError: No module named psycopg2
检查了一下psycopg2包,它已经安装好了。软件包python-psycopg2-2.4.5-1.rhel5.x86_64
已经安装到最新版本。出了什么问题?我的服务器是CentOS,我已经安装了Python 2.6.7。
$ python -c 'import sys; print sys.path'
- Taizo Itopsycopg2
,好吗? - Nileshpip install psycopg2
- hassanzadeh.sd