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

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.

Cheers

Charles

아바타
취소

did you manage to solve it?

베스트 답변

it is quite annoying that there isn't just an easy interface to use pip after installing via .exe installer. Only way I have found to actually make it work is this. https://www.youtube.com/watch?v=tGSNUgqZkYU&t=203s

아바타
취소
베스트 답변

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.

아바타
취소
베스트 답변

Hi

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.



아바타
취소
베스트 답변

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.

Help

아바타
취소
베스트 답변

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!!!

아바타
취소