I installed python 2.7 and 3.4 on my local machine and on the server. Also installed Odoo 10. and 11.0 on the same machine. I created modules for Odoo 10 and 11, executed successfully. But when I upload Odoo 11 code to server getting an error.
Example, the print statement I typed print'Test Print'
in both Odoo 10 & 11.0. It worked without any error on the local machine. But got an error on the server.
I checked the version on both machines, the output is:
python -V
Python 2.7.12
python3 -V
Python 3.5.2
How can I tell Odoo to choose correct python version while compiling the code ?