Odoo Help


Where is python interpreter for odoo

Hieu Lam
on 10/7/16, 12:43 AM 906 views


I am new to odoo and python so just want to ask a very basic question. I can see that when I install odoo from source, I don't need python at all? So I think python has been embedded in the installation somewhere ?

When debug odoo, I have to install python 2.7 and install all the necessary dependencies before I can start the server with odoo.py. 

Can anyone explain the idea to me ? Thanks. 

Dominique Chabord
On 10/7/16, 1:32 PM


To run Odoo, you must have all dependencies installed. Maybe the debug mode makes some check and fails, while without debug, it may (wrongly) try to survive a bit. Depending on how you set up Odoo, dependencies must be installed manually or are automatically installed.

python is per default installed on most serious operating systems, but if you use windows, may be you have to add it, I don't know. Another aspect is that python is moving from python2 (required by Odoo) to python3 and some distributions may use python3 as default if you just specify 'python'.

A simple way is to install explicitly python2.7 in your environment (or system for a try) and start odoo with command :

python2.7 path_to_odoo_script

Note: if you use a .exe to install Odoo, it is not an installation from source.

Hi Dominique, Thanks for answer, but I think my question still not answer.

To be simple, I install odoo using package install, file odoo_9.0c.latest.exe and odoo just works! I don't need to install python 2.7 at all ? So i suspect that the installation has install python somewhere ?

Hieu Lam
on 10/11/16, 11:38 PM

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/7/16, 12:43 AM
Seen: 906 times
Last updated: 10/7/16, 1:32 PM