跳至内容
菜单
此问题已终结
3 回复
6526 查看

I ocnfigured odoo 10 and 11 on pycharm and 11 is running good. But While I am running the 10 or 9 I am getting the below error.


File "/usr/lib/python3.5/site.py", line 182

file=sys.stderr)

^

SyntaxError: invalid syntax

Process finished with exit code 1

Couldn't connect to console process.

seems like interpreter error. How can i solve this

形象
丢弃
最佳答案

Hi,

Open pycharm Go to Run -> Edit configuration, there you can set the interpreters for the v11 and v10. For v10 use python 2.7 and for v11 use python 3.

Odoo 10



Odoo 11



Thanks

形象
丢弃
编写者

no helps.. I uninstalled and purged pycharm. now i am reinstalling. I did all possibilities.but some where settings is conflicted.

最佳答案

Odoo 9 and 10 need Python 2.7, Odoo 11 runs with Python 3.5.

形象
丢弃
编写者

yes I know that and i configured interpretor 3 and 2 for each. 11 run success fully

相关帖文 回复 查看 活动
3
5月 21
4467
4
2月 24
7905
6
2月 19
8200
1
4月 18
12990
2
3月 18
6626