OpenERP7.0用户手册,OSCG淘宝OpenERP用户手册,OpenERP7.0开发教程

2014-2-28 foooy python

 

OpenERP7.0用户手册,OSCG淘宝OpenERP用户手册,OpenERP7.0开发教程

 

转载:http://www.oscg.cn/

标签: python OpenERP

评论(0) 浏览(3985)

python import psycopg2报ImportError: libpq.so.5: cannot open shared object file: No such file or directory

2012-7-19 foooy postgresql

import psycopg2 报错
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/psycopg2-2.4.1-py2.4-linux-x86_64.egg/psycopg2/__init__.py", line 71, in ?
    from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: libpq.so.5: cannot open shared object file: No such file or directory

解决办法:
cd /etc/ld.so.conf.d
echo "/usr/local/pgsql/lib" >>pgsql.conf
ldconfig

标签: 服务器 linux python OpenERP postgresql

评论(0) 浏览(2531)

Powered by emlog 鄂ICP备14000186号-1 sitemap