Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6685 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 24
956
3
thg 8 20
5796
0
thg 5 19
8676
1
thg 5 25
10475
1
thg 8 25
655