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

My VPS server version - ubuntu 18.04 

python version- 3.8.13

Already install every dependency. I tried several time to install odoo15 but every time I face same issue. In the same environment I try to install odoo14. It works perfect. In same environment why odoo15 won't work? Does anyone face same problem? 


See ----

root@skt:/opt/odoov15/odoo# ./odoo-bin

Traceback (most recent call last):

File "./odoo-bin", line 5, in

import odoo

File "/opt/odoov15/odoo/odoo/__init__.py", line 19, in

assert sys.version_info > (3, 7), "Outdated python version detected, Odoo requires Python >= 3.7 to run."

AssertionError: Outdated python version detected, Odoo requires Python >= 3.7 to run.

root@skt:/opt/odoov15/odoo# python -V

Python 3.8.13

الصورة الرمزية
إهمال
أفضل إجابة

As you mention the python -V showing 3.8.13 so you try run Odoo as below:

python ./odoo-bin -c [odoo conifg file path]

Also you can try to get the version of 

 python3 --version
and if it's showing 3.8.13 then you can run Odoo:

python3 ./odoo-bin -c [odoo conifg file path]

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
ديسمبر 23
6775
1
يوليو 22
4592
0
يوليو 23
122
2
أكتوبر 22
24869
0
مايو 24
2489