dayjaby / zebra-scanner

Read barcodes in python with zebra barcode scanner
MIT License
24 stars 18 forks source link

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u #8

Closed unarix closed 4 years ago

unarix commented 4 years ago

Hello, im not sure if is an error or a missing packege/library. I follow the instructions to install it, and get this error.

Searched in the web but no results. Any help is apreciated:

Defaulting to user installation because normal site-packages is not writeable
Collecting zebra-scanner
  Using cached zebra-scanner-0.2.4.tar.gz (6.7 kB)
Building wheels for collected packages: zebra-scanner
  Building wheel for zebra-scanner (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gvvx_q8u/zebra-scanner/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gvvx_q8u/zebra-scanner/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-a9kk9ktj
       cwd: /tmp/pip-install-gvvx_q8u/zebra-scanner/
  Complete output (19 lines):
  /home/unarix/.local/lib/python3.6/site-packages/setuptools/dist.py:454: UserWarning: Normalizing 'v0.2.4' to '0.2.4'
    warnings.warn(tmpl.format(**locals()))
  running bdist_wheel
  running build
  running build_ext
  building 'zebra_scanner' extension
  creating build
  creating build/temp.linux-x86_64-3.6
  creating build/temp.linux-x86_64-3.6/tmp
  creating build/temp.linux-x86_64-3.6/tmp/pip-install-gvvx_q8u
  creating build/temp.linux-x86_64-3.6/tmp/pip-install-gvvx_q8u/zebra-scanner
  creating build/temp.linux-x86_64-3.6/tmp/pip-install-gvvx_q8u/zebra-scanner/src
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/zebra-scanner -I/usr/include/python2.7 -I/home/unarix/.local/lib/python3.6/site-packages/pybind11/include -I/tmp/pip-install-gvvx_q8u/zebra-scanner/src -I/usr/include/python3.6m -c /tmp/pip-install-gvvx_q8u/zebra-scanner/src/BoostPythonCoreScanner.cpp -o build/temp.linux-x86_64-3.6/tmp/pip-install-gvvx_q8u/zebra-scanner/src/BoostPythonCoreScanner.o -Wno-deprecated -std=c++11 -fvisibility=hidden
  In file included from /tmp/pip-install-gvvx_q8u/zebra-scanner/src/BoostPythonCoreScanner.cpp:1:0:
  /tmp/pip-install-gvvx_q8u/zebra-scanner/src/BoostPythonCoreScanner.h:13:10: fatal error: CsIEventListenerXml.h: No existe el archivo o el directorio
   #include "CsIEventListenerXml.h"
            ^~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for zebra-scanner
  Running setup.py clean for zebra-scanner
Failed to build zebra-scanner
Installing collected packages: zebra-scanner
    Running setup.py install for zebra-scanner ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gvvx_q8u/zebra-scanner/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gvvx_q8u/zebra-scanner/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_nib7l0t/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/unarix/.local/include/python3.6m/zebra-scanner
         cwd: /tmp/pip-install-gvvx_q8u/zebra-scanner/
    Complete output (19 lines):
    /home/unarix/.local/lib/python3.6/site-packages/setuptools/dist.py:454: UserWarning: Normalizing 'v0.2.4' to '0.2.4'
      warnings.warn(tmpl.format(**locals()))
    running install
    running build
    running build_ext
    building 'zebra_scanner' extension
    creating build
    creating build/temp.linux-x86_64-3.6
    creating build/temp.linux-x86_64-3.6/tmp
    creating build/temp.linux-x86_64-3.6/tmp/pip-install-gvvx_q8u
    creating build/temp.linux-x86_64-3.6/tmp/pip-install-gvvx_q8u/zebra-scanner
    creating build/temp.linux-x86_64-3.6/tmp/pip-install-gvvx_q8u/zebra-scanner/src
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/zebra-scanner -I/usr/include/python2.7 -I/home/unarix/.local/lib/python3.6/site-packages/pybind11/include -I/tmp/pip-install-gvvx_q8u/zebra-scanner/src -I/usr/include/python3.6m -c /tmp/pip-install-gvvx_q8u/zebra-scanner/src/BoostPythonCoreScanner.cpp -o build/temp.linux-x86_64-3.6/tmp/pip-install-gvvx_q8u/zebra-scanner/src/BoostPythonCoreScanner.o -Wno-deprecated -std=c++11 -fvisibility=hidden
    In file included from /tmp/pip-install-gvvx_q8u/zebra-scanner/src/BoostPythonCoreScanner.cpp:1:0:
    /tmp/pip-install-gvvx_q8u/zebra-scanner/src/BoostPythonCoreScanner.h:13:10: fatal error: CsIEventListenerXml.h: No existe el archivo o el directorio
     #include "CsIEventListenerXml.h"
              ^~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gvvx_q8u/zebra-scanner/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gvvx_q8u/zebra-scanner/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_nib7l0t/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/unarix/.local/include/python3.6m/zebra-scanner Check the logs for full command output.
unarix commented 4 years ago

Closed by myself! Sorry... Missing the SDK.