İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
6508 Görünümler

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

Avatar
Vazgeç
En İyi Yanı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

Avatar
Vazgeç
Üretici

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

En İyi Yanıt

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

Avatar
Vazgeç
Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
3
May 21
4452
4
Şub 24
7872
6
Şub 19
8142
1
Nis 18
12975
2
Mar 18
6607