Python Forum
barcodes scanner for kivy
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
barcodes scanner for kivy
#2
I can't even pip install that dependency
Output:
$ sudo pip install jnius Collecting jnius  Using cached jnius-1.1.0.tar.gz Collecting six>=1.7.0 (from jnius) /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.  SNIMissingWarning /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.  InsecurePlatformWarning  Downloading six-1.10.0-py2.py3-none-any.whl Requirement already satisfied: cython in /usr/lib/pymodules/python2.7 (from jnius) Installing collected packages: six, jnius  Found existing installation: six 1.1.0    DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.    Uninstalling six-1.1.0:      Successfully uninstalled six-1.1.0  Running setup.py install for jnius ... error    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-KLx46Y/jnius/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-UrTzdD-record/install-record.txt --single-version-externally-managed --compile:    running install    running build    running build_py    creating build    creating build/lib.linux-armv7l-2.7    copying jnius_config.py -> build/lib.linux-armv7l-2.7    creating build/lib.linux-armv7l-2.7/jnius    copying jnius/__init__.py -> build/lib.linux-armv7l-2.7/jnius    copying jnius/reflect.py -> build/lib.linux-armv7l-2.7/jnius    copying jnius/signatures.py -> build/lib.linux-armv7l-2.7/jnius    running build_ext    cythoning jnius/jnius.pyx to jnius/jnius.c        Error compiling Cython file:    ------------------------------------------------------------    ...        ctypedef jlong const_jlong "const jlong"        ctypedef jfloat const_jfloat "const jfloat"        ctypedef jdouble const_jdouble "const jdouble"            ctypedef struct JNINativeMethod:            const char* name                     ^    ------------------------------------------------------------        jnius/jni.pxi:39:18: Syntax error in C variable declaration    building 'jnius' extension    creating build/temp.linux-armv7l-2.7    creating build/temp.linux-armv7l-2.7/jnius    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/jvm/jdk-8-oracle-arm-vfp-hflt/include -I/usr/lib/jvm/jdk-8-oracle-arm-vfp-hflt/include/linux -I/usr/in    jnius/jnius.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.    error: command 'gcc' failed with exit status 1        ---------------------------------------- Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-KLx46Y/jnius/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-UrTzdD-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-KLx46Y/jnius/
Might be related to https://github.com/kivy/pyjnius/issues/219

Anyway, have you tried https://github.com/kivy/pyjnius/issues/2...-255604586 ?
Reply


Messages In This Thread
barcodes scanner for kivy - by metulburr - Apr-19-2017, 09:41 PM
RE: barcodes scanner for kivy - by micseydel - Apr-19-2017, 11:12 PM
RE: barcodes scanner for kivy - by metulburr - Apr-20-2017, 12:14 AM
RE: barcodes scanner for kivy - by micseydel - Apr-20-2017, 12:15 AM
RE: barcodes scanner for kivy - by metulburr - Apr-20-2017, 12:17 AM
RE: barcodes scanner for kivy - by metulburr - Apr-20-2017, 12:21 AM
RE: barcodes scanner for kivy - by metulburr - Apr-20-2017, 01:52 PM
RE: barcodes scanner for kivy - by snippsat - Apr-20-2017, 04:21 PM
RE: barcodes scanner for kivy - by micseydel - Apr-20-2017, 04:25 PM
RE: barcodes scanner for kivy - by metulburr - Apr-20-2017, 08:02 PM
RE: barcodes scanner for kivy - by sarraBB - Feb-21-2018, 06:05 PM
RE: barcodes scanner for kivy - by metulburr - Feb-21-2018, 07:09 PM
RE: barcodes scanner for kivy - by Larz60+ - Feb-21-2018, 08:53 PM
RE: barcodes scanner for kivy - by wavic - Feb-22-2018, 05:06 AM
RE: barcodes scanner for kivy - by metulburr - Feb-22-2018, 07:06 AM
RE: barcodes scanner for kivy - by wavic - Feb-22-2018, 07:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Kivy - OpenCollective - [Announcement] Kivy funding. buran 0 2,044 Feb-03-2019, 04:02 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020