Onlyoffice_odoo installation issue

Hello.
I am tryin your onlyoffice_odoo addon on odoo18 release. It installed on ubuntu 24.04. I am having hard time to install it since odoo18 returned msg says “Unable to install module “onlyoffice_odoo” because an external dependency is not met: External dependency pyjwt not installed: No package metadata was found for pyjwt”

I have pyjwt 2.7 installed. Do I have to update it to latest?

thanks

Never mind. Fixed.
My odoo was on virtual environment. Need to install the JWT package there.

Hello @john94582

Glad to know that you’ve managed to resolve the issue by yourself.

Feel free to share any insights on how did you install the package for the reference for all community members in case someone also faces such problem.

Indeed if you could share some insights it would be useful cause I can’t seem to get past this problem.

I’m trying to run onlyoffice_odoo on my desktop via docker. I’ve tried installing pyjwt by creating my own odoo image but I still faced this problem. Then I tried to install pyjwt via pip globally in the container for odoo but I still faced this problem. When I saw your post I tried to install in the virtual environment used by odoo and got this result :
root@ef4e0c1e8374:/# source /opt/odoo/venv/bin/activate
(venv) root@ef4e0c1e8374:/# pip install pyjwt
Requirement already satisfied: pyjwt in /opt/odoo/venv/lib/python3.12/site-packages (2.6.0)

But when trying to activate onlyoffice_odoo in the odoo interface I still get : “External dependency pyjwt not installed: No package metadata was found for pyjwt”

So if anybody can help me get past this it would be greatly appreciated (sorry I’m a bit of a noob) !

Hello @ngner

PyJWT is indeed one of the dependencies for the connector app. Please try installing the library with command pip install pyjwt. If it does not work, please refer to the installation guide: Installation — PyJWT 2.10.1 documentation