Window customer several time face issues with ODOO to install additional python libraries. As ODOO default installation manage with automation, people hardly know how to add new python library. Plenty of other software in window as well use Python like Inkscap which use python 3.8. Where as Odoo might use python 3.7.

ODOO WINDOW INSTALL

As with CMD program of window use default python which might not same as ODOO, which many cause many issues for Window user to install python additional libraries.

To install python additional lib for ODOO.

Step 1:
Open CMD Prompt as administrator.

Step 2: set path of ODOO related python
like below command,

set PATH=”c:\Program Files\Odoo 14\python;c:\Program Files\Odoo 14\python\Scripts”

Above command will setup Odoo related python environment,
Than install python lib like below command

python -m pip install pysftp

That’s it, then after you can restart ODOO service and try to install your expected module.

Note: I notice even we install sometime module says, lib is not installed, in that case reinstall lib like below command.

python -m pip install pysftp –ignore-installed
# Above command may resolve issue if any related to missing lib.

IF YOU LIKE THIS BLOW, PLEASE SHARE IN SOCIAL MEDIA, THAT’S KIND OF DONATION TO US AND IT MANY HELP OTHER AS WELL.