Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
6574 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 5 21
4529
4
thg 2 24
7947
6
thg 2 19
8258
1
thg 4 18
13038
2
thg 3 18
6730