Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
6634 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
พ.ค. 21
4607
4
ก.พ. 24
8071
6
ก.พ. 19
8349
1
เม.ย. 18
13118
2
มี.ค. 18
6790