This question has been flagged
4 Replies
18714 Views

Odoo: 11

CentOS 7


I am trying to install Odoo version 11 on CentOS 7. When I try to do so, I get a large number of missing dependency errors related to python packages. The full list is given below.


Has anyone been able to install Odoo 11 on CentOS 7? If so, where were you able to find a source for the needed python rpms?



Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-gevent Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-decorator Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-passlib Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-pytz Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-requests Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-suds Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-pyparsing Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-werkzeug Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-feedparser Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-markupsafe Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-vatnumber Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-pyldap Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-jinja2 Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-num2words Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-mako Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-pydot Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-dateutil Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-xlrd Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-psutil Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-six Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-xlwt Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-PyYAML Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-ofxparse Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-docutils Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-reportlab Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-pyserial Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-lxml Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-mock Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-psycopg2 Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-qrcode Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-pyusb Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-vobject Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-html2text Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-babel Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-pillow Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-greenlet Error: Package: odoo-11.0.post20171012-1.noarch (/odoo_11.0.latest.noarch)
           Requires: python3-PyPDF2

Avatar
Discard
Best Answer

Seems that Pyton 3, CentOS 7 &  Odoo 11 will not work.. (at least for the time being):
https://github.com/odoo/odoo/issues/19890

I have the exact same issue and can't figure it out..

Avatar
Discard
Best Answer

This errors due to python3 dependency missing problem. If you installed odoo in global environment then you have to install dependency via terminal GOTO odoo folder then navigate to requirements.tx file open terminal then give command

pip3 install -r requirements.txt 

for virtual Environment--> Activate virtual environment then install  pip3 install -r requirements.txt

this will solve the dependency problem

Avatar
Discard
Best Answer

I have the same problem.

My environment have python 3.6 but the dependences not found:

rpm -ihv odoo_11.0.latest.noarch.rpm  -i error: Error de dependencias:
        python3-babel es necesario por odoo-11.0.post20171027-1.noarch
        python3-dateutil es necesario por odoo-11.0.post20171027-1.noarch
        python3-docutils es necesario por odoo-11.0.post20171027-1.noarch
        python3-gevent es necesario por odoo-11.0.post20171027-1.noarch
        python3-greenlet es necesario por odoo-11.0.post20171027-1.noarch
        python3-html2text es necesario por odoo-11.0.post20171027-1.noarch
        python3-jinja2 es necesario por odoo-11.0.post20171027-1.noarch
        python3-lxml es necesario por odoo-11.0.post20171027-1.noarch
        python3-mako es necesario por odoo-11.0.post20171027-1.noarch
        python3-markupsafe es necesario por odoo-11.0.post20171027-1.noarch
        python3-mock es necesario por odoo-11.0.post20171027-1.noarch
        python3-ofxparse es necesario por odoo-11.0.post20171027-1.noarch
        python3-pillow es necesario por odoo-11.0.post20171027-1.noarch
        python3-psutil es necesario por odoo-11.0.post20171027-1.noarch
        python3-psycopg2 es necesario por odoo-11.0.post20171027-1.noarch
        python3-pydot es necesario por odoo-11.0.post20171027-1.noarch
        python3-pyldap es necesario por odoo-11.0.post20171027-1.noarch
        python3-pyparsing es necesario por odoo-11.0.post20171027-1.noarch
        python3-pyserial es necesario por odoo-11.0.post20171027-1.noarch
        python3-pyusb es necesario por odoo-11.0.post20171027-1.noarch
        python3-qrcode es necesario por odoo-11.0.post20171027-1.noarch
        python3-reportlab es necesario por odoo-11.0.post20171027-1.noarch
        python3-requests es necesario por odoo-11.0.post20171027-1.noarch
        python3-vobject es necesario por odoo-11.0.post20171027-1.noarch
        python3-xlrd es necesario por odoo-11.0.post20171027-1.noarch
        python3-xlwt es necesario por odoo-11.0.post20171027-1.noarch

Avatar
Discard
Author Best Answer

Thank you Annadurai and gaspar_gonzalez for responding. My understanding is that it could probably be done by building from source by using Annadurai's approach to retrieve the needed python packages. Unfortunately, that approach would not work for a package-based install as the package manager would not detect that the dependencies had been installed. The solution is to use Fedora or go with a completely different distribution.

Avatar
Discard