跳至内容
菜单
此问题已终结
1 回复
6676 查看

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

形象
丢弃
相关帖文 回复 查看 活动
0
7月 24
949
3
8月 20
5782
0
5月 19
8672
1
5月 25
10469
1
8月 25
646