Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

3

Which python version is recommended?

By
ton123
on 2/27/13, 6:16 AM 8,807 views

What is the recommended version of python to use? I assume it can be different for the various OE versions.

What kind of problems are know if you don't use a recommended python version.

2

Stephen Mack

--Stephen Mack--
5023
| 8 8 9
Santiago, Chile
--Stephen Mack--

Some people call me a karma whore, I only ask for 10 points if you like my answer and 15 if I happen to get it correct.

Stephen Mack
On 1/7/15, 6:38 PM

Per a GitHub comment on 7 January 2015 by Odoo's Chief Technical Officer, they are targeting Python 2.7 for all current development.

8

Davide Corio

--Davide Corio--
1822
| 4 3 7
Bricherasio, Italy
--Davide Corio--

Odoo Evangelist and Consultant

Davide Corio
On 2/27/13, 6:20 AM

OpenERP (versions 6 and 7) is reported to work on both python 2.6 and 2.7.

Python 2.7 is the suggested one btw, since many things were fixed and changed in this versione, like the way python does rounding.

Python 3.x isn't supported yet AFAIK.

Is there any plan to support v3 at some point?

Cogitae, Pierre Soum
on 3/27/13, 12:49 PM
1
Eric Mugo
On 10/6/14, 9:32 AM

Openerp/Odoo v7 - Python 2.6

Reasons:

  • openerp python code is installed in /usr/lib/python2.6/dist-packages
  • /usr/bin/openerp-server contains the line #!/usr/bin/python2.6 which means it was meant to run on python 2.6

A problem I faced running v7 on python 2.7 is that upgrades broke my installation since the upgrade was installed in the default locations for python2.6 while the launch script references a non-existent python2.6.

For OpenERP/Odoo v8 and up you need 2.7. This has some v3 back ported functionality that is not available in 2.6.

Ludo - Neobis
on 10/6/14, 10:43 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/27/13, 6:16 AM
Seen: 8807 times
Last updated: 3/16/15, 8:10 AM