Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
5034 Lượt xem

Hi,

I'm using Centos 6 and have installed Python 2.7 and PostgreSQL9.5 via Software collections. Both are installed just fine and work well.

Now when I try to 'install' latest nightly of Odoo, it shows:.


--> Finished Dependency ResolutionError: Package: odoo-10.0_20170102-1.noarch (/odoo_10.0.latest.noarch) Requires: nodejs-lessError: Package: odoo-10.0_20170102-1.noarch (/odoo_10.0.latest.noarch) Requires: pyparsingError: Package: odoo-10.0_20170102-1.noarch (/odoo_10.0.latest.noarch) Requires: python-psutilError: Package: odoo-10.0_20170102-1.noarch (/odoo_10.0.latest.noarch) Requires: python-vobjectError: Package: odoo-10.0_20170102-1.noarch (/odoo_10.0.latest.noarch) Requires: python(abi) = 2.7 Installed: python-2.6.6-66.el6_8.x86_64 (@updates) python(abi) = 2.6 Available: python-2.6.6-64.el6.x86_64 (base) python(abi) = 2.6Error: Package: odoo-10.0_20170102-1.noarch (/odoo_10.0.latest.noarch) Requires: python-mockError: Package: odoo-10.0_20170102-1.noarch (/odoo_10.0.latest.noarch) Requires: python-feedparserError: Package: odoo-10.0_20170102-1.noarch (/odoo_10.0.latest.noarch) Requires: python-xlwtError: Package: odoo-10.0_20170102-1.noarch (/odoo_10.0.latest.noarch) Requires: python-werkzeugError: Package: odoo-10.0_20170102-1.noarch (/odoo_10.0.latest.noarch) Requires: python-openidError: Package: odoo-10.0_20170102-1.noarch (/odoo_10.0.latest.noarch) Requires: python-passlib You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

Anybody ever tried using CentOS 6, SCL and Odoo (10) ?

TIA

Ảnh đại diện
Huỷ bỏ
Tác giả

Sorry, forgot to include the epel repo. Here's the actual result:

Error: Package: odoo-10.0_20161231-1.noarch (/odoo_10.0.latest.noarch)

Requires: python(abi) = 2.7

Installed: python-2.6.6-66.el6_8.x86_64 (@updates)

python(abi) = 2.6

Available: python-2.6.6-64.el6.x86_64 (base)

python(abi) = 2.6

Available: python34-3.4.5-1.el6.i686 (epel)

python(abi) = 3.4

Error: Package: odoo-10.0_20161231-1.noarch (/odoo_10.0.latest.noarch)

Requires: python-xlwt

Câu trả lời hay nhất

just tried to install Odoo 10 CE on a local VM running CentOS7, install also got stuck with unresolved dependencies on python-xlwt, python-...

trying to find python*noarch.rpm to solve problem ... so far no luck

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Not sure where my additional comment went, but here we go:
It seems that the Odoo RPM checks for the python version (spec requirements) by checking /usr/bin/python. This is the stock Python version of CentOS 6, where the Software Collections version of Python27 is over at /opt/rh....

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 21
11312
0
thg 11 20
4420
2
thg 10 15
9038
0
thg 3 21
2971
4
thg 8 20
20582