I am trying to install this module ESC/POS Hardware Driver But giving this error except_orm: ('Error', u'Unable to install module "hw_escpos" because an external dependency is not met: No module named usb.core')
Any one can help how to install it??
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I am trying to install this module ESC/POS Hardware Driver But giving this error except_orm: ('Error', u'Unable to install module "hw_escpos" because an external dependency is not met: No module named usb.core')
Any one can help how to install it??
Prequisites:
##Remove existing Ubuntu/Deb usb app
sudo apt-get remove python-usb
##Since all versions of pyusb are either alpha or beta you must declare a specific version. 1.0.0b2 was the latest at this time.
pip install pyusb==1.0.0b2
##QR Code is the next requirement
apt-get install python-qrcode
Hopefully this will save everyone a ton of headaches.
Hi, you need to install lates pyusb...
'sudo pip install --pre pyusb'
Regards,
-Mario
Hi,
I am having same challenge but I have windows 2010 so how to install this usb.core? tks
Under windows you need :
- have libusb-win32 installed on system.
- download pysub zip file from sourceforge https://sourceforge.net/projects/pyusb/ .It contains auto installer
Hi Zahid,
Thanks for your reply and seems I was able to install but still when I try to install module same message. Is there any other step I need to take,
I am following this url,
https://github.com/walac/pyusb
but still error,
Unable to install module "hw_escpos" because an external dependency is not met: No module named usb.core
installation output
c:\python setup.py install
running install
running build
running build_py
creating build
creating build\lib
creating build\lib\usb
copying usb\control.py -> build\lib\usb
copying usb\core.py -> build\lib\usb
copying usb\legacy.py -> build\lib\usb
copying usb\util.py -> build\lib\usb
copying usb\_debug.py -> build\lib\usb
copying usb\_interop.py -> build\lib\usb
copying usb\__init__.py -> build\lib\usb
creating build\lib\usb\backend
copying usb\backend\libusb01.py -> build\lib\usb\backend
copying usb\backend\libusb10.py -> build\lib\usb\backend
copying usb\backend\openusb.py -> build\lib\usb\backend
copying usb\backend\__init__.py -> build\lib\usb\backend
running install_lib
creating C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb
creating C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\backend
copying build\lib\usb\backend\libusb01.py -> C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\backend
copying build\lib\usb\backend\libusb10.py -> C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\backend
copying build\lib\usb\backend\openusb.py -> C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\backend
copying build\lib\usb\backend\__init__.py -> C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\backend
copying build\lib\usb\control.py -> C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb
copying build\lib\usb\core.py -> C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb
copying build\lib\usb\legacy.py -> C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb
copying build\lib\usb\util.py -> C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb
copying build\lib\usb\_debug.py -> C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb
copying build\lib\usb\_interop.py -> C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb
copying build\lib\usb\__init__.py -> C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb
byte-compiling C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\backend\libusb01.py to libusb01.cpython-36.pyc
byte-compiling C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\backend\libusb10.py to libusb10.cpython-36.pyc
byte-compiling C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\backend\openusb.py to openusb.cpython-36.pyc
byte-compiling C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\backend\__init__.py to __init__.cpython-36.pyc
byte-compiling C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\control.py to control.cpython-36.pyc
byte-compiling C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\core.py to core.cpython-36.pyc
byte-compiling C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\legacy.py to legacy.cpython-36.pyc
byte-compiling C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\util.py to util.cpython-36.pyc
byte-compiling C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\_debug.py to _debug.cpython-36.pyc
byte-compiling C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\_interop.py to _interop.cpython-36.pyc
byte-compiling C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\usb\__init__.py to __init__.cpython-36.pyc
running install_egg_info
Writing C:\Users\hayatms\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\pyusb-1.0.0a2-py3.6.egg-info
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up