2025-09-08T23:40:33,234 Created temporary directory: /tmp/pip-build-tracker-snet_6_p 2025-09-08T23:40:33,235 Initialized build tracking at /tmp/pip-build-tracker-snet_6_p 2025-09-08T23:40:33,235 Created build tracker: /tmp/pip-build-tracker-snet_6_p 2025-09-08T23:40:33,235 Entered build tracker: /tmp/pip-build-tracker-snet_6_p 2025-09-08T23:40:33,236 Created temporary directory: /tmp/pip-wheel-685cn13o 2025-09-08T23:40:33,239 Created temporary directory: /tmp/pip-ephem-wheel-cache-z0pqqdeb 2025-09-08T23:40:33,296 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-08T23:40:33,298 2 location(s) to search for versions of npio: 2025-09-08T23:40:33,298 * https://pypi.org/simple/npio/ 2025-09-08T23:40:33,298 * https://www.piwheels.org/simple/npio/ 2025-09-08T23:40:33,298 Fetching project page and analyzing links: https://pypi.org/simple/npio/ 2025-09-08T23:40:33,299 Getting page https://pypi.org/simple/npio/ 2025-09-08T23:40:33,300 Found index url https://pypi.org/simple/ 2025-09-08T23:40:33,506 Fetched page https://pypi.org/simple/npio/ as application/vnd.pypi.simple.v1+json 2025-09-08T23:40:33,507 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 2025-09-08T23:40:33,508 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 2025-09-08T23:40:33,509 Fetching project page and analyzing links: https://www.piwheels.org/simple/npio/ 2025-09-08T23:40:33,509 Getting page https://www.piwheels.org/simple/npio/ 2025-09-08T23:40:33,511 Found index url https://www.piwheels.org/simple/ 2025-09-08T23:40:33,614 Fetched page https://www.piwheels.org/simple/npio/ as text/html 2025-09-08T23:40:33,615 Skipping link: No binaries permitted for npio: https://archive1.piwheels.org/simple/npio/npio-0.1.77-cp35-cp35m-linux_armv7l.whl#sha256=e9241cce789d762b9e240aaf03e9e3414d0d883c499a18374fd7f86d46d9df47 (from https://www.piwheels.org/simple/npio/) 2025-09-08T23:40:33,615 Skipping link: No binaries permitted for npio: https://archive1.piwheels.org/simple/npio/npio-0.1.77-cp35-cp35m-linux_armv6l.whl#sha256=e9241cce789d762b9e240aaf03e9e3414d0d883c499a18374fd7f86d46d9df47 (from https://www.piwheels.org/simple/npio/) 2025-09-08T23:40:33,616 Skipping link: No binaries permitted for npio: https://archive1.piwheels.org/simple/npio/npio-0.1.77-cp37-cp37m-linux_armv7l.whl#sha256=35c0f18e3d01fb811222ef6942998b2e9d43d9d2dcfbbc3ee5965d6881289b4d (from https://www.piwheels.org/simple/npio/) 2025-09-08T23:40:33,616 Skipping link: No binaries permitted for npio: https://archive1.piwheels.org/simple/npio/npio-0.1.77-cp37-cp37m-linux_armv6l.whl#sha256=35c0f18e3d01fb811222ef6942998b2e9d43d9d2dcfbbc3ee5965d6881289b4d (from https://www.piwheels.org/simple/npio/) 2025-09-08T23:40:33,616 Skipping link: not a file: https://www.piwheels.org/simple/npio/ 2025-09-08T23:40:33,616 Skipping link: not a file: https://pypi.org/simple/npio/ 2025-09-08T23:40:33,640 Given no hashes to check 1 links for project 'npio': discarding no candidates 2025-09-08T23:40:33,641 Collecting npio==0.1.76 2025-09-08T23:40:33,643 Created temporary directory: /tmp/pip-unpack-uagnom7r 2025-09-08T23:40:33,781 Downloading npio-0.1.76.tar.gz (19 kB) 2025-09-08T23:40:33,812 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-snet_6_p' 2025-09-08T23:40:33,813 Running setup.py (path:/tmp/pip-wheel-685cn13o/npio_b4e86cd5f3b243c6aec85cf2aa4fc6f2/setup.py) egg_info for package npio 2025-09-08T23:40:33,813 Created temporary directory: /tmp/pip-pip-egg-info-cmnxomqa 2025-09-08T23:40:33,813 Preparing metadata (setup.py): started 2025-09-08T23:40:33,814 Running command python setup.py egg_info 2025-09-08T23:40:34,959 <-> find packages: ['npio'] 2025-09-08T23:40:34,960 <-> find extensions: ['soft_pwm.c', 'py_pwm.c', 'py_gpio.c', 'event_gpio.c', 'cpuinfo.c', 'constants.c', 'common.c', 'c_gpio.c', 'boardtype.c'] 2025-09-08T23:40:34,960 <-> find data files: ['README.md'] 2025-09-08T23:40:34,960 ### Introduction 2025-09-08T23:40:34,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*** . 2025-09-08T23:40:34,960 ### APT 2025-09-08T23:40:34,960 #### Common requirements 2025-09-08T23:40:34,961 sudo apt update 2025-09-08T23:40:34,961 sudo apt install python3-dev 2025-09-08T23:40:34,961 ### PyPI 2025-09-08T23:40:34,961 #### Installation 2025-09-08T23:40:34,961 sudo pip3 install npio 2025-09-08T23:40:34,961 ### GIT 2025-09-08T23:40:34,961 #### Download 2025-09-08T23:40:34,962 git clone [ https://github.com/leftradio/npio ] 2025-09-08T23:40:34,962 #### Installation 2025-09-08T23:40:34,962 cd npio 2025-09-08T23:40:34,962 python3 setup.py buils sdist bdist 2025-09-08T23:40:34,962 sudo python3 setup.py install 2025-09-08T23:40:34,962 For correct work after installing copy yours board ***sys_info*** to ***/etc/sys_info*** path. 2025-09-08T23:40:34,962 running egg_info 2025-09-08T23:40:35,037 creating /tmp/pip-pip-egg-info-cmnxomqa/npio.egg-info 2025-09-08T23:40:35,037 writing /tmp/pip-pip-egg-info-cmnxomqa/npio.egg-info/PKG-INFO 2025-09-08T23:40:35,038 writing dependency_links to /tmp/pip-pip-egg-info-cmnxomqa/npio.egg-info/dependency_links.txt 2025-09-08T23:40:35,039 writing top-level names to /tmp/pip-pip-egg-info-cmnxomqa/npio.egg-info/top_level.txt 2025-09-08T23:40:35,039 writing manifest file '/tmp/pip-pip-egg-info-cmnxomqa/npio.egg-info/SOURCES.txt' 2025-09-08T23:40:35,337 reading manifest file '/tmp/pip-pip-egg-info-cmnxomqa/npio.egg-info/SOURCES.txt' 2025-09-08T23:40:35,340 writing manifest file '/tmp/pip-pip-egg-info-cmnxomqa/npio.egg-info/SOURCES.txt' 2025-09-08T23:40:35,452 Preparing metadata (setup.py): finished with status 'done' 2025-09-08T23:40:35,457 Source in /tmp/pip-wheel-685cn13o/npio_b4e86cd5f3b243c6aec85cf2aa4fc6f2 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 2025-09-08T23:40:35,457 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-snet_6_p' 2025-09-08T23:40:35,460 Created temporary directory: /tmp/pip-unpack-a1_qjr69 2025-09-08T23:40:35,460 Created temporary directory: /tmp/pip-unpack-ujdtnk87 2025-09-08T23:40:35,460 Building wheels for collected packages: npio 2025-09-08T23:40:35,462 Created temporary directory: /tmp/pip-wheel-9oa5u_kq 2025-09-08T23:40:35,462 DEPRECATION: Building 'npio' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'npio'. Discussion can be found at https://github.com/pypa/pip/issues/6334 2025-09-08T23:40:35,464 Building wheel for npio (setup.py): started 2025-09-08T23:40:35,465 Destination directory: /tmp/pip-wheel-9oa5u_kq 2025-09-08T23:40:35,465 Running command python setup.py bdist_wheel 2025-09-08T23:40:35,981 <-> find packages: ['npio'] 2025-09-08T23:40:35,981 <-> find extensions: ['soft_pwm.c', 'py_pwm.c', 'py_gpio.c', 'event_gpio.c', 'cpuinfo.c', 'constants.c', 'common.c', 'c_gpio.c', 'boardtype.c'] 2025-09-08T23:40:35,981 <-> find data files: ['README.md'] 2025-09-08T23:40:35,981 ### Introduction 2025-09-08T23:40:35,981 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*** . 2025-09-08T23:40:35,982 ### APT 2025-09-08T23:40:35,982 #### Common requirements 2025-09-08T23:40:35,982 sudo apt update 2025-09-08T23:40:35,982 sudo apt install python3-dev 2025-09-08T23:40:35,982 ### PyPI 2025-09-08T23:40:35,982 #### Installation 2025-09-08T23:40:35,983 sudo pip3 install npio 2025-09-08T23:40:35,983 ### GIT 2025-09-08T23:40:35,983 #### Download 2025-09-08T23:40:35,983 git clone [ https://github.com/leftradio/npio ] 2025-09-08T23:40:35,983 #### Installation 2025-09-08T23:40:35,983 cd npio 2025-09-08T23:40:35,983 python3 setup.py buils sdist bdist 2025-09-08T23:40:35,983 sudo python3 setup.py install 2025-09-08T23:40:35,984 For correct work after installing copy yours board ***sys_info*** to ***/etc/sys_info*** path. 2025-09-08T23:40:36,540 running bdist_wheel 2025-09-08T23:40:36,912 running build 2025-09-08T23:40:36,912 running build_py 2025-09-08T23:40:36,988 creating build/lib.linux-armv7l-cpython-313/npio 2025-09-08T23:40:36,989 copying npio/__init__.py -> build/lib.linux-armv7l-cpython-313/npio 2025-09-08T23:40:36,990 running build_ext 2025-09-08T23:40:37,315 building '_npio' extension 2025-09-08T23:40:37,317 creating build/temp.linux-armv7l-cpython-313/source 2025-09-08T23:40:37,318 arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.13 -c source/boardtype.c -o build/temp.linux-armv7l-cpython-313/source/boardtype.o 2025-09-08T23:40:37,413 source/boardtype.c:16:10: fatal error: boardtype.h: No such file or directory 2025-09-08T23:40:37,414 16 | #include "boardtype.h" 2025-09-08T23:40:37,414 | ^~~~~~~~~~~~~ 2025-09-08T23:40:37,414 compilation terminated. 2025-09-08T23:40:37,416 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2025-09-08T23:40:37,565 ERROR: python setup.py bdist_wheel exited with 1 2025-09-08T23:40:37,576 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2025-09-08T23:40:37,576 exec(compile('"'"''"'"''"'"' 2025-09-08T23:40:37,576 # This is -- a caller that pip uses to run setup.py 2025-09-08T23:40:37,576 # 2025-09-08T23:40:37,576 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-08T23:40:37,576 # import from `distutils.core` to work with newer packaging standards. 2025-09-08T23:40:37,576 # - It provides a clear error message when setuptools is not installed. 2025-09-08T23:40:37,576 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-08T23:40:37,576 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-08T23:40:37,576 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-08T23:40:37,576 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-08T23:40:37,576 import os, sys, tokenize, traceback 2025-09-08T23:40:37,576 2025-09-08T23:40:37,576 try: 2025-09-08T23:40:37,576 import setuptools 2025-09-08T23:40:37,576 except ImportError: 2025-09-08T23:40:37,576 print( 2025-09-08T23:40:37,576 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-08T23:40:37,576 "the build environment with exception:", 2025-09-08T23:40:37,576 file=sys.stderr, 2025-09-08T23:40:37,576 ) 2025-09-08T23:40:37,576 traceback.print_exc() 2025-09-08T23:40:37,576 sys.exit(1) 2025-09-08T23:40:37,576 2025-09-08T23:40:37,576 __file__ = %r 2025-09-08T23:40:37,576 sys.argv[0] = __file__ 2025-09-08T23:40:37,576 2025-09-08T23:40:37,576 if os.path.exists(__file__): 2025-09-08T23:40:37,576 filename = __file__ 2025-09-08T23:40:37,576 with tokenize.open(__file__) as f: 2025-09-08T23:40:37,576 setup_py_code = f.read() 2025-09-08T23:40:37,576 else: 2025-09-08T23:40:37,576 filename = "" 2025-09-08T23:40:37,576 setup_py_code = "from setuptools import setup; setup()" 2025-09-08T23:40:37,576 2025-09-08T23:40:37,576 exec(compile(setup_py_code, filename, "exec")) 2025-09-08T23:40:37,576 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-685cn13o/npio_b4e86cd5f3b243c6aec85cf2aa4fc6f2/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-9oa5u_kq[/] 2025-09-08T23:40:37,577 [bold magenta]cwd[/]: /tmp/pip-wheel-685cn13o/npio_b4e86cd5f3b243c6aec85cf2aa4fc6f2/ 2025-09-08T23:40:37,577 Building wheel for npio (setup.py): finished with status 'error' 2025-09-08T23:40:37,577 ERROR: Failed building wheel for npio 2025-09-08T23:40:37,578 Running setup.py clean for npio 2025-09-08T23:40:37,579 Running command python setup.py clean 2025-09-08T23:40:38,089 <-> find packages: ['npio'] 2025-09-08T23:40:38,089 <-> find extensions: ['soft_pwm.c', 'py_pwm.c', 'py_gpio.c', 'event_gpio.c', 'cpuinfo.c', 'constants.c', 'common.c', 'c_gpio.c', 'boardtype.c'] 2025-09-08T23:40:38,089 <-> find data files: ['README.md'] 2025-09-08T23:40:38,090 ### Introduction 2025-09-08T23:40:38,090 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*** . 2025-09-08T23:40:38,090 ### APT 2025-09-08T23:40:38,090 #### Common requirements 2025-09-08T23:40:38,090 sudo apt update 2025-09-08T23:40:38,090 sudo apt install python3-dev 2025-09-08T23:40:38,091 ### PyPI 2025-09-08T23:40:38,091 #### Installation 2025-09-08T23:40:38,091 sudo pip3 install npio 2025-09-08T23:40:38,091 ### GIT 2025-09-08T23:40:38,091 #### Download 2025-09-08T23:40:38,092 git clone [ https://github.com/leftradio/npio ] 2025-09-08T23:40:38,092 #### Installation 2025-09-08T23:40:38,092 cd npio 2025-09-08T23:40:38,092 python3 setup.py buils sdist bdist 2025-09-08T23:40:38,092 sudo python3 setup.py install 2025-09-08T23:40:38,092 For correct work after installing copy yours board ***sys_info*** to ***/etc/sys_info*** path. 2025-09-08T23:40:38,723 running clean 2025-09-08T23:40:38,868 removing 'build/temp.linux-armv7l-cpython-313' (and everything under it) 2025-09-08T23:40:38,868 removing 'build/lib.linux-armv7l-cpython-313' (and everything under it) 2025-09-08T23:40:38,869 'build/bdist.linux-armv7l' does not exist -- can't clean it 2025-09-08T23:40:38,869 'build/scripts-3.13' does not exist -- can't clean it 2025-09-08T23:40:38,869 removing 'build' 2025-09-08T23:40:38,980 Failed to build npio 2025-09-08T23:40:38,981 ERROR: Failed to build one or more wheels 2025-09-08T23:40:38,982 Exception information: 2025-09-08T23:40:38,982 Traceback (most recent call last): 2025-09-08T23:40:38,982 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-08T23:40:38,982 status = _inner_run() 2025-09-08T23:40:38,982 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-08T23:40:38,982 return self.run(options, args) 2025-09-08T23:40:38,982 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-08T23:40:38,982 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-08T23:40:38,982 return func(self, options, args) 2025-09-08T23:40:38,982 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 180, in run 2025-09-08T23:40:38,982 raise CommandError("Failed to build one or more wheels") 2025-09-08T23:40:38,982 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2025-09-08T23:40:38,986 Removed build tracker: '/tmp/pip-build-tracker-snet_6_p'