تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
6829 أدوات العرض

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
مايو 21
4833
4
فبراير 24
8339
6
فبراير 19
8701
1
أبريل 18
13328
2
مارس 18
7065