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.

0

Where is python interpreter for odoo

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

Hi, 

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. 

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

Hello,

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

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: 10/7/16, 12:43 AM
Seen: 233 times
Last updated: 10/7/16, 1:32 PM