2023-09-12T08:45:00,136 Created temporary directory: /tmp/pip-build-tracker-3y_ddnyo 2023-09-12T08:45:00,137 Initialized build tracking at /tmp/pip-build-tracker-3y_ddnyo 2023-09-12T08:45:00,137 Created build tracker: /tmp/pip-build-tracker-3y_ddnyo 2023-09-12T08:45:00,138 Entered build tracker: /tmp/pip-build-tracker-3y_ddnyo 2023-09-12T08:45:00,139 Created temporary directory: /tmp/pip-wheel-3zlozkxv 2023-09-12T08:45:00,142 Created temporary directory: /tmp/pip-ephem-wheel-cache-086rads_ 2023-09-12T08:45:00,164 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-12T08:45:00,167 2 location(s) to search for versions of npio: 2023-09-12T08:45:00,167 * https://pypi.org/simple/npio/ 2023-09-12T08:45:00,167 * https://www.piwheels.org/simple/npio/ 2023-09-12T08:45:00,168 Fetching project page and analyzing links: https://pypi.org/simple/npio/ 2023-09-12T08:45:00,169 Getting page https://pypi.org/simple/npio/ 2023-09-12T08:45:00,170 Found index url https://pypi.org/simple/ 2023-09-12T08:45:00,385 Fetched page https://pypi.org/simple/npio/ as application/vnd.pypi.simple.v1+json 2023-09-12T08:45:00,386 Found link https://files.pythonhosted.org/packages/71/32/d5e4cb85da1d016020de1d7624861e6b0f77481adb2687370595ea0d1069/npio-0.1.76.tar.gz (from https://pypi.org/simple/npio/), version: 0.1.76 2023-09-12T08:45:00,387 Found link https://files.pythonhosted.org/packages/b1/00/0a669c5eb2b7b4cede92cd4832a5570c4880e7b880319ac34d258bf7e60f/npio-0.1.77.tar.gz (from https://pypi.org/simple/npio/), version: 0.1.77 2023-09-12T08:45:00,388 Fetching project page and analyzing links: https://www.piwheels.org/simple/npio/ 2023-09-12T08:45:00,388 Getting page https://www.piwheels.org/simple/npio/ 2023-09-12T08:45:00,389 Found index url https://www.piwheels.org/simple/ 2023-09-12T08:45:00,638 Fetched page https://www.piwheels.org/simple/npio/ as text/html 2023-09-12T08:45:00,640 Skipping link: No binaries permitted for npio: https://www.piwheels.org/simple/npio/npio-0.1.77-cp35-cp35m-linux_armv6l.whl#sha256=e9241cce789d762b9e240aaf03e9e3414d0d883c499a18374fd7f86d46d9df47 (from https://www.piwheels.org/simple/npio/) 2023-09-12T08:45:00,641 Skipping link: No binaries permitted for npio: https://www.piwheels.org/simple/npio/npio-0.1.77-cp35-cp35m-linux_armv7l.whl#sha256=e9241cce789d762b9e240aaf03e9e3414d0d883c499a18374fd7f86d46d9df47 (from https://www.piwheels.org/simple/npio/) 2023-09-12T08:45:00,642 Skipping link: No binaries permitted for npio: https://www.piwheels.org/simple/npio/npio-0.1.77-cp37-cp37m-linux_armv6l.whl#sha256=35c0f18e3d01fb811222ef6942998b2e9d43d9d2dcfbbc3ee5965d6881289b4d (from https://www.piwheels.org/simple/npio/) 2023-09-12T08:45:00,642 Skipping link: No binaries permitted for npio: https://www.piwheels.org/simple/npio/npio-0.1.77-cp37-cp37m-linux_armv7l.whl#sha256=35c0f18e3d01fb811222ef6942998b2e9d43d9d2dcfbbc3ee5965d6881289b4d (from https://www.piwheels.org/simple/npio/) 2023-09-12T08:45:00,643 Skipping link: not a file: https://www.piwheels.org/simple/npio/ 2023-09-12T08:45:00,644 Skipping link: not a file: https://pypi.org/simple/npio/ 2023-09-12T08:45:00,663 Given no hashes to check 1 links for project 'npio': discarding no candidates 2023-09-12T08:45:00,681 Collecting npio==0.1.76 2023-09-12T08:45:00,683 Created temporary directory: /tmp/pip-unpack-wcxsmemh 2023-09-12T08:45:00,891 Downloading npio-0.1.76.tar.gz (19 kB) 2023-09-12T08:45:00,939 Added npio==0.1.76 from https://files.pythonhosted.org/packages/71/32/d5e4cb85da1d016020de1d7624861e6b0f77481adb2687370595ea0d1069/npio-0.1.76.tar.gz to build tracker '/tmp/pip-build-tracker-3y_ddnyo' 2023-09-12T08:45:00,941 Running setup.py (path:/tmp/pip-wheel-3zlozkxv/npio_3e38baebb35e41919e5d5887feeb976f/setup.py) egg_info for package npio 2023-09-12T08:45:00,942 Created temporary directory: /tmp/pip-pip-egg-info-d5cp3b52 2023-09-12T08:45:00,943 Preparing metadata (setup.py): started 2023-09-12T08:45:00,944 Running command python setup.py egg_info 2023-09-12T08:45:01,957 <-> find packages: ['npio'] 2023-09-12T08:45:01,958 <-> find extensions: ['constants.c', 'cpuinfo.c', 'boardtype.c', 'py_pwm.c', 'event_gpio.c', 'common.c', 'c_gpio.c', 'soft_pwm.c', 'py_gpio.c'] 2023-09-12T08:45:01,958 <-> find data files: ['README.md'] 2023-09-12T08:45:01,959 ### Introduction 2023-09-12T08:45:01,960 This is a NanoPi boards based GPIO manipulation package written on C with Python3 wrapper with some improvements and installable from PyPI package. In this package tryed an attempt to maximize the preservation of API compatibility with original package ***WiringNP*** . 2023-09-12T08:45:01,961 ### APT 2023-09-12T08:45:01,962 #### Common requirements 2023-09-12T08:45:01,962 sudo apt update 2023-09-12T08:45:01,963 sudo apt install python3-dev 2023-09-12T08:45:01,963 ### PyPI 2023-09-12T08:45:01,964 #### Installation 2023-09-12T08:45:01,965 sudo pip3 install npio 2023-09-12T08:45:01,966 ### GIT 2023-09-12T08:45:01,967 #### Download 2023-09-12T08:45:01,967 git clone [ https://github.com/leftradio/npio ] 2023-09-12T08:45:01,968 #### Installation 2023-09-12T08:45:01,969 cd npio 2023-09-12T08:45:01,969 python3 setup.py buils sdist bdist 2023-09-12T08:45:01,969 sudo python3 setup.py install 2023-09-12T08:45:01,970 For correct work after installing copy yours board ***sys_info*** to ***/etc/sys_info*** path. 2023-09-12T08:45:01,971 running egg_info 2023-09-12T08:45:01,972 creating /tmp/pip-pip-egg-info-d5cp3b52/npio.egg-info 2023-09-12T08:45:01,985 writing /tmp/pip-pip-egg-info-d5cp3b52/npio.egg-info/PKG-INFO 2023-09-12T08:45:01,987 writing dependency_links to /tmp/pip-pip-egg-info-d5cp3b52/npio.egg-info/dependency_links.txt 2023-09-12T08:45:01,989 writing top-level names to /tmp/pip-pip-egg-info-d5cp3b52/npio.egg-info/top_level.txt 2023-09-12T08:45:01,991 writing manifest file '/tmp/pip-pip-egg-info-d5cp3b52/npio.egg-info/SOURCES.txt' 2023-09-12T08:45:02,087 reading manifest file '/tmp/pip-pip-egg-info-d5cp3b52/npio.egg-info/SOURCES.txt' 2023-09-12T08:45:02,091 writing manifest file '/tmp/pip-pip-egg-info-d5cp3b52/npio.egg-info/SOURCES.txt' 2023-09-12T08:45:02,198 Preparing metadata (setup.py): finished with status 'done' 2023-09-12T08:45:02,202 Source in /tmp/pip-wheel-3zlozkxv/npio_3e38baebb35e41919e5d5887feeb976f has version 0.1.76, which satisfies requirement npio==0.1.76 from https://files.pythonhosted.org/packages/71/32/d5e4cb85da1d016020de1d7624861e6b0f77481adb2687370595ea0d1069/npio-0.1.76.tar.gz 2023-09-12T08:45:02,203 Removed npio==0.1.76 from https://files.pythonhosted.org/packages/71/32/d5e4cb85da1d016020de1d7624861e6b0f77481adb2687370595ea0d1069/npio-0.1.76.tar.gz from build tracker '/tmp/pip-build-tracker-3y_ddnyo' 2023-09-12T08:45:02,207 Created temporary directory: /tmp/pip-unpack-qjiej6hd 2023-09-12T08:45:02,208 Created temporary directory: /tmp/pip-unpack-mtuhze8r 2023-09-12T08:45:02,210 Building wheels for collected packages: npio 2023-09-12T08:45:02,214 Created temporary directory: /tmp/pip-wheel-_8pmovmr 2023-09-12T08:45:02,215 Building wheel for npio (setup.py): started 2023-09-12T08:45:02,216 Destination directory: /tmp/pip-wheel-_8pmovmr 2023-09-12T08:45:02,216 Running command python setup.py bdist_wheel 2023-09-12T08:45:02,621 <-> find packages: ['npio'] 2023-09-12T08:45:02,621 <-> find extensions: ['constants.c', 'cpuinfo.c', 'boardtype.c', 'py_pwm.c', 'event_gpio.c', 'common.c', 'c_gpio.c', 'soft_pwm.c', 'py_gpio.c'] 2023-09-12T08:45:02,622 <-> find data files: ['README.md'] 2023-09-12T08:45:02,623 ### Introduction 2023-09-12T08:45:02,624 This is a NanoPi boards based GPIO manipulation package written on C with Python3 wrapper with some improvements and installable from PyPI package. In this package tryed an attempt to maximize the preservation of API compatibility with original package ***WiringNP*** . 2023-09-12T08:45:02,625 ### APT 2023-09-12T08:45:02,626 #### Common requirements 2023-09-12T08:45:02,627 sudo apt update 2023-09-12T08:45:02,627 sudo apt install python3-dev 2023-09-12T08:45:02,629 ### PyPI 2023-09-12T08:45:02,630 #### Installation 2023-09-12T08:45:02,631 sudo pip3 install npio 2023-09-12T08:45:02,632 ### GIT 2023-09-12T08:45:02,632 #### Download 2023-09-12T08:45:02,633 git clone [ https://github.com/leftradio/npio ] 2023-09-12T08:45:02,634 #### Installation 2023-09-12T08:45:02,634 cd npio 2023-09-12T08:45:02,634 python3 setup.py buils sdist bdist 2023-09-12T08:45:02,635 sudo python3 setup.py install 2023-09-12T08:45:02,636 For correct work after installing copy yours board ***sys_info*** to ***/etc/sys_info*** path. 2023-09-12T08:45:03,222 running bdist_wheel 2023-09-12T08:45:03,315 running build 2023-09-12T08:45:03,315 running build_py 2023-09-12T08:45:03,343 creating build 2023-09-12T08:45:03,343 creating build/lib.linux-armv7l-cpython-311 2023-09-12T08:45:03,344 creating build/lib.linux-armv7l-cpython-311/npio 2023-09-12T08:45:03,345 copying npio/__init__.py -> build/lib.linux-armv7l-cpython-311/npio 2023-09-12T08:45:03,347 running build_ext 2023-09-12T08:45:03,869 building '_npio' extension 2023-09-12T08:45:03,871 creating build/temp.linux-armv7l-cpython-311 2023-09-12T08:45:03,872 creating build/temp.linux-armv7l-cpython-311/source 2023-09-12T08:45:03,873 arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c source/boardtype.c -o build/temp.linux-armv7l-cpython-311/source/boardtype.o 2023-09-12T08:45:03,983 source/boardtype.c:16:10: fatal error: boardtype.h: No such file or directory 2023-09-12T08:45:03,984 16 | #include "boardtype.h" 2023-09-12T08:45:03,984 | ^~~~~~~~~~~~~ 2023-09-12T08:45:03,985 compilation terminated. 2023-09-12T08:45:03,987 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-12T08:45:04,125 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-12T08:45:04,138 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-12T08:45:04,138 exec(compile('"'"''"'"''"'"' 2023-09-12T08:45:04,138 # This is -- a caller that pip uses to run setup.py 2023-09-12T08:45:04,138 # 2023-09-12T08:45:04,138 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-12T08:45:04,138 # import from `distutils.core` to work with newer packaging standards. 2023-09-12T08:45:04,138 # - It provides a clear error message when setuptools is not installed. 2023-09-12T08:45:04,138 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-12T08:45:04,138 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-12T08:45:04,138 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-12T08:45:04,138 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-12T08:45:04,138 import os, sys, tokenize 2023-09-12T08:45:04,138 2023-09-12T08:45:04,138 try: 2023-09-12T08:45:04,138 import setuptools 2023-09-12T08:45:04,138 except ImportError as error: 2023-09-12T08:45:04,138 print( 2023-09-12T08:45:04,138 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-12T08:45:04,138 "the build environment.", 2023-09-12T08:45:04,138 file=sys.stderr, 2023-09-12T08:45:04,138 ) 2023-09-12T08:45:04,138 sys.exit(1) 2023-09-12T08:45:04,138 2023-09-12T08:45:04,138 __file__ = %r 2023-09-12T08:45:04,138 sys.argv[0] = __file__ 2023-09-12T08:45:04,138 2023-09-12T08:45:04,138 if os.path.exists(__file__): 2023-09-12T08:45:04,138 filename = __file__ 2023-09-12T08:45:04,138 with tokenize.open(__file__) as f: 2023-09-12T08:45:04,138 setup_py_code = f.read() 2023-09-12T08:45:04,138 else: 2023-09-12T08:45:04,138 filename = "" 2023-09-12T08:45:04,138 setup_py_code = "from setuptools import setup; setup()" 2023-09-12T08:45:04,138 2023-09-12T08:45:04,138 exec(compile(setup_py_code, filename, "exec")) 2023-09-12T08:45:04,138 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-3zlozkxv/npio_3e38baebb35e41919e5d5887feeb976f/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-_8pmovmr[/] 2023-09-12T08:45:04,139 [bold magenta]cwd[/]: /tmp/pip-wheel-3zlozkxv/npio_3e38baebb35e41919e5d5887feeb976f/ 2023-09-12T08:45:04,140 Building wheel for npio (setup.py): finished with status 'error' 2023-09-12T08:45:04,141 ERROR: Failed building wheel for npio 2023-09-12T08:45:04,143 Running setup.py clean for npio 2023-09-12T08:45:04,144 Running command python setup.py clean 2023-09-12T08:45:04,595 <-> find packages: ['npio'] 2023-09-12T08:45:04,595 <-> find extensions: ['constants.c', 'cpuinfo.c', 'boardtype.c', 'py_pwm.c', 'event_gpio.c', 'common.c', 'c_gpio.c', 'soft_pwm.c', 'py_gpio.c'] 2023-09-12T08:45:04,596 <-> find data files: ['README.md'] 2023-09-12T08:45:04,597 ### Introduction 2023-09-12T08:45:04,598 This is a NanoPi boards based GPIO manipulation package written on C with Python3 wrapper with some improvements and installable from PyPI package. In this package tryed an attempt to maximize the preservation of API compatibility with original package ***WiringNP*** . 2023-09-12T08:45:04,599 ### APT 2023-09-12T08:45:04,600 #### Common requirements 2023-09-12T08:45:04,601 sudo apt update 2023-09-12T08:45:04,601 sudo apt install python3-dev 2023-09-12T08:45:04,602 ### PyPI 2023-09-12T08:45:04,603 #### Installation 2023-09-12T08:45:04,604 sudo pip3 install npio 2023-09-12T08:45:04,605 ### GIT 2023-09-12T08:45:04,606 #### Download 2023-09-12T08:45:04,606 git clone [ https://github.com/leftradio/npio ] 2023-09-12T08:45:04,608 #### Installation 2023-09-12T08:45:04,608 cd npio 2023-09-12T08:45:04,609 python3 setup.py buils sdist bdist 2023-09-12T08:45:04,610 sudo python3 setup.py install 2023-09-12T08:45:04,611 For correct work after installing copy yours board ***sys_info*** to ***/etc/sys_info*** path. 2023-09-12T08:45:05,217 running clean 2023-09-12T08:45:05,263 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-12T08:45:05,264 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2023-09-12T08:45:05,266 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-12T08:45:05,267 'build/scripts-3.11' does not exist -- can't clean it 2023-09-12T08:45:05,268 removing 'build' 2023-09-12T08:45:05,373 Failed to build npio 2023-09-12T08:45:05,374 ERROR: Failed to build one or more wheels 2023-09-12T08:45:05,375 Exception information: 2023-09-12T08:45:05,375 Traceback (most recent call last): 2023-09-12T08:45:05,375 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-12T08:45:05,375 status = run_func(*args) 2023-09-12T08:45:05,375 ^^^^^^^^^^^^^^^ 2023-09-12T08:45:05,375 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-12T08:45:05,375 return func(self, options, args) 2023-09-12T08:45:05,375 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-12T08:45:05,375 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-12T08:45:05,375 raise CommandError("Failed to build one or more wheels") 2023-09-12T08:45:05,375 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-12T08:45:05,379 Removed build tracker: '/tmp/pip-build-tracker-3y_ddnyo'