Hi, I’m trying to install a test bahmni instance on a freshly installed CentOS 6.10 (virtual) server, but I’m having issues with one piece of the puzzle: OpenERP / Odoo doesn’t start!
[root@bahmni ~]# service openerp status
openerp-server is stopped
[root@bahmni ~]# service openerp start
Starting OpenERP Server Daemon (openerp-server): [ OK ]
[root@bahmni ~]# Traceback (most recent call last):
File “/usr/bin/openerp-server”, line 4, in <module> import pkg_resources
File “/usr/lib/python2.6/site-packages/pkg_resources.py”, line 2659, in <module> parse_requirements(requires), Environment()
File “/usr/lib/python2.6/site-packages/pkg_resources.py”, line 546, in resolve raise DistributionNotFound(req)
The installed psycopg is version 2.0:
[root@bahmni ~]# yum list installed | grep psycopg
python-psycopg2.x86_64 2.0.14-2.el6 @anaconda-CentOS-201806291108.x86_64/6.10
(Most python packages are “@anaconda-CentOS-201806291108.x86_64/6.10”)
Should I upgrade psycopg2 manually to 2.2 or later?
Or is it better to reinstall CentO6 6.9 as suggested by the install instructions?
Thanks a lot,