Odoo Help


How to install Python modules on Windows for Odoo

Chaaya Chares
on 1/21/16, 10:09 PM 4,810 views

I am trying to install ESC/POS and i get a message that some pythin modules could not be found. I downloaded those modules (LIBUSB1, PYSERIAL, and QRCODE) and installed them using the command line python -m pip install xxxxxx, which works fine, using python 2.7. But this makes no difference for Odoo. Python2.7 is installed under c:\ folder while Odoo is installed under c:\program files (x86).

The question is how do you make Odoo recognise the installed packages under Python?  Do I need to copy the installed package folder to the c:\program files (x86)\odoo9\server\ folder? I did try but I got a different error: No module named serial. Note that I have copied the folder "serial" from python to odoo, and still the same error.

If anyone can help I would appreciate it.



Luca Vercelli
On 10/6/17, 8:13 AM

I think the right solution is the one you pointed out yourself: to copy the installed package folder to the \odoo9\server\
The only problem is that you need to copy also all their dependencies, as you point out, "serial" is one of them.
You can use pip to download a package with all its dependencies, it will show you everything it is downloading, so you can copy all of them to \odoo9\server.

Jose Vasquez
On 4/27/16, 12:36 PM


I used the pip install, when using windows

You find it in "https://sites.google.com/site/pydatalog/python/pip-for-windows"

I hope to help you, regards.

On 4/27/16, 12:23 PM

Same problem with me. with usb.core it pass  i just copied usb folder from c:/python to server folder under odoo foder. but get stuck with serial module.


Rui Franco
On 2/28/16, 5:29 AM

Same problem with me. I'm stuck with two Odoo third party modules because of this. I really think there should be some "official" concern about those developers who are using Odoo for Windows, rather than the "change to linux" attitude.

Guys in Odoo! Help!!!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 1/21/16, 10:09 PM
Seen: 4810 times
Last updated: 10/6/17, 8:13 AM