Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6707 มุมมอง

Really weird.

I know the module is installed, as I can perfectly check on command line using interactive python interpreter:

sh-3.2# python

Python 2.7.8 (default, Jul 13 2014, 17:11:32) 
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import qrcode
>>> help (qrcode)
Help on package qrcode:

NAME
    qrcode

FILE
    /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/qrcode-5.0.1-py2.7.egg/qrcode/__init__.py

 

But activating "hw_escpos" module within Odoo, always throws the following error:

Error
Unable to install module "hw_escpos" because an external dependency is not met: No module named qrcode

 

Any idea why this might be happening?

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

The module has to be installed using pip:
sudo pip install qrcode

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ค. 24
979
3
ส.ค. 20
5871
0
พ.ค. 19
8729
1
พ.ค. 25
10495
1
ส.ค. 25
692