2016-04-15 8 views
0

Wer ist bei der Installation von Odoo 9 auf einem CentOS 6.5 2.6.32-431.17.1.el6.x86_64 System auf einen der folgenden Fehler gestoßen?Installation von Odoo 9 auf CentOS 6.5

Error: Package: odoo-9.0c_20160415-1.noarch (odoo-nightly) 
     Requires: nodejs-clean-css 
Error: Package: odoo-9.0c_20160415-1.noarch (odoo-nightly) 
     Requires: python(abi) = 2.7 
     Installed: python-2.6.6-64.el6.x86_64 (@base) 
      python(abi) = 2.6 

You could try using --skip-broken to work around the problem 
You could try running: rpm -Va --nofiles --nodigest 

ich schon python2.7 installiert, Ich habe v0.10.42 Knoten-Version installiert.

Ich habe EPEL im repolist

Jede Idee, was ich vermisst?

Es wird gesagt, dass CentOS für YUM auf python2.6 hängt, ich bin gespannt, wie ich dieses yum python2.7-zu-Punkt erhalten kann, wenn Odoo Installation

$ ls -ltr /usr/bin/python* 
-rwxr-xr-x. 2 root root 9032 Jul 23 2015 /usr/bin/python2.6 
-rwxr-xr-x. 2 root root 9032 Jul 23 2015 /usr/bin/python 
-lrwxrwxrwx. 1 root root 6 Apr 14 19:08 /usr/bin/python2 -> python 
$ ls -ltr /usr/local/bin/python* 
-rwxr-xr-x. 1 root root 6221519 Apr 14 20:22 /usr/local/bin/python2.7 
-rwxr-xr-x. 1 root root 1674 Apr 14 20:25 /usr/local/bin/python2.7-config 

$echo $PATH 
/usr/local/bin:/usr/local/rvm/gems/ruby-1.9.3-p551/bin:/usr/local/rvm/gems/[email protected]/bin:/usr/local/rvm/rubies/ruby-1.9.3-p551/bin:/usr/local/rvm/bin:/sbin:/bin:/usr/sbin:/usr/bin 

Es sollte idealerweise zuerst sehen python2.7 , buffled immer noch, warum es auf 2,6

Antwort

0

Gelöscht die "(odoo-nächtliche) Benötigt: NodeJS-clean-CSS-Fehler: Paket: odoo-9.0c_20160415-1.noarch", betont Abhängigkeitsfehler mit

yum install https://dl.fedoraproject.org/pub/epel/7/x86_64/n/nodejs-clean-css-2.2.8-2.el7.noarch.rpm 

Immer noch nicht python2.7 Abhängigkeitsfehler

alias python=/usr/local/bin/python2.7 
python -V 
    #Python 2.7.8 
+0

Der "Alias" ist nicht genug. Überprüfen Sie, was in Ihrem PATH ist. –

+0

@DanielReis/usr/local/bin wo Python2.7 ist, ist im Pfad – Wasky