콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
10003 화면

While starting Odoo15 in my Local it shows me a py warning like below.


2022-05-03 10:04:15,244 79394 WARNING ? py.warnings: /home/siddharthtarpada/odoo/odoo_15.0/odoo/addons/base/models/ir_actions_report.py:68: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.


File "/home/siddharthtarpada/odoo/odoo_15.0/odoo/addons/base/models/__init__.py", line 13, in
from . import ir_actions_report
File "/home/siddharthtarpada/odoo/odoo_15.0/odoo/addons/base/models/ir_actions_report.py", line 73, in
if LooseVersion(version) >= LooseVersion('0.12.2'):


I have checked the disutils version and it is 3.8.10.


아바타
취소

The cause: `virtualenv`
Link: https://stackoverflow.com/questions/55486248/deprecationwarning-in-python-3-6-and-3-7-with-pillow-distutils-imp

You can create venv by venv of python. Don't use `virtualenv`

베스트 답변

This has been fixed in this PR:

https://github.com/odoo/odoo/pull/84097

아바타
취소
베스트 답변

Hi, you can watch following video to fix it: 


Fix distutils Version classes are deprecated ERROR in Odoo | Odoo Error

https://youtu.be/DTJuGfIUWmg

아바타
취소
관련 게시물 답글 화면 활동
1
6월 25
1711
3
7월 25
3333
1
5월 25
1475
1
5월 25
1737
4
5월 25
2872