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

I've been trying to install the TicketBAI addon for the Odoo 16. When activating the addon though, the following dependency issue arises:​


From the context of Odoo's _check_python_external_dependency​, an exception (pkg_resources.VersionConflict​) is raised and produces the following log message:


WARNING odoo-testing odoo.addons.base.models.ir_module: VersionConflict: (requests 2.25.1 (/usr/lib/python3/dist-packages), Requirement.parse('requests>=2.26.0'), {'requests-pkcs12'})

The requests 2.25.1 is provided by Ubuntu, and is a dependency of the Odoo package.

I can, and I did install requests 2.31.0 using pip. The former is installed in /usr/lib/python3, while the latter is installed in /usr/local/lib/python3.

Apparently, Odoo is using 2.25.1. I cannot uninstall this version without removing Odoo altogether... is there a way to solve this conflict ?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 23
3086
1
thg 10 24
3667
5
thg 11 19
5303
2
thg 5 18
22391
1
thg 3 15
4657