2022-10-26T16:21:56,645 Created temporary directory: /tmp/pip-ephem-wheel-cache-h6009_77 2022-10-26T16:21:56,647 Created temporary directory: /tmp/pip-build-tracker-i8nqbzz2 2022-10-26T16:21:56,647 Initialized build tracking at /tmp/pip-build-tracker-i8nqbzz2 2022-10-26T16:21:56,647 Created build tracker: /tmp/pip-build-tracker-i8nqbzz2 2022-10-26T16:21:56,648 Entered build tracker: /tmp/pip-build-tracker-i8nqbzz2 2022-10-26T16:21:56,648 Created temporary directory: /tmp/pip-wheel-8w7rixzg 2022-10-26T16:21:56,685 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2022-10-26T16:21:56,687 Created temporary directory: /tmp/pip-ephem-wheel-cache-5t4pk42z 2022-10-26T16:21:56,710 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2022-10-26T16:21:56,713 2 location(s) to search for versions of pyjoulescope-driver: 2022-10-26T16:21:56,713 * https://pypi.org/simple/pyjoulescope-driver/ 2022-10-26T16:21:56,713 * https://www.piwheels.org/simple/pyjoulescope-driver/ 2022-10-26T16:21:56,713 Fetching project page and analyzing links: https://pypi.org/simple/pyjoulescope-driver/ 2022-10-26T16:21:56,714 Getting page https://pypi.org/simple/pyjoulescope-driver/ 2022-10-26T16:21:56,715 Found index url https://pypi.org/simple 2022-10-26T16:21:56,768 Fetched page https://pypi.org/simple/pyjoulescope-driver/ as application/vnd.pypi.simple.v1+json 2022-10-26T16:21:56,771 Skipping link: No binaries permitted for pyjoulescope-driver: https://files.pythonhosted.org/packages/54/e8/38c49533a96ba1e54a280d3e53d886fbbb042ebee8da7fb26bd5c217b879/pyjoulescope_driver-0.2.2-cp310-cp310-win_amd64.whl (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7) 2022-10-26T16:21:56,772 Found link https://files.pythonhosted.org/packages/be/4f/f3ddd1763709745ab194db018d5a0bc111cc003338aca9e90b75ec718719/pyjoulescope_driver-0.2.2.tar.gz (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7), version: 0.2.2 2022-10-26T16:21:56,773 Skipping link: No binaries permitted for pyjoulescope-driver: https://files.pythonhosted.org/packages/a1/6f/70244b4b80462e25489678bb6f560ddd6a7ae3c07d67ce460157aaecaaa5/pyjoulescope_driver-1.0.1-cp310-cp310-macosx_10_15_x86_64.whl (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7) 2022-10-26T16:21:56,773 Skipping link: No binaries permitted for pyjoulescope-driver: https://files.pythonhosted.org/packages/73/b0/974a27bd8f0b432c45f0b8bd53a0205208949a4d7ffd44cdf5acdd7c56b0/pyjoulescope_driver-1.0.1-cp310-cp310-macosx_12_0_arm64.whl (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7) 2022-10-26T16:21:56,773 Skipping link: No binaries permitted for pyjoulescope-driver: https://files.pythonhosted.org/packages/80/16/1754c965f4356f4cc985270dde3584417a4631730800cb02c92349ac6ee1/pyjoulescope_driver-1.0.1-cp310-cp310-macosx_12_0_x86_64.whl (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7) 2022-10-26T16:21:56,773 Skipping link: No binaries permitted for pyjoulescope-driver: https://files.pythonhosted.org/packages/f9/75/e9be7360df7b231dfc2b2e0ff4f96324eda6ba7733c1b5b650e070a24326/pyjoulescope_driver-1.0.1-cp310-cp310-win_amd64.whl (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7) 2022-10-26T16:21:56,774 Skipping link: No binaries permitted for pyjoulescope-driver: https://files.pythonhosted.org/packages/d9/df/aa2062727846f1ff615ee7328bf006709cb74f58b7893f17ff19de2b3761/pyjoulescope_driver-1.0.1-cp38-cp38-win_amd64.whl (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7) 2022-10-26T16:21:56,774 Skipping link: No binaries permitted for pyjoulescope-driver: https://files.pythonhosted.org/packages/53/86/941dad9adaf3c6ff2c375698d2fe8f1a8637eac77868c0e6b0548a65b264/pyjoulescope_driver-1.0.1-cp39-cp39-win_amd64.whl (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7) 2022-10-26T16:21:56,774 Found link https://files.pythonhosted.org/packages/71/77/12879acbd4bb478beb20b26d61396d4a5cc6bc3cdc8014d47305fa23bec4/pyjoulescope_driver-1.0.1.tar.gz (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7), version: 1.0.1 2022-10-26T16:21:56,775 Skipping link: No binaries permitted for pyjoulescope-driver: https://files.pythonhosted.org/packages/5c/74/aa5e18d5c67865f147356074952fc1277bf57b3f55ed777fb7f5b0a6557b/pyjoulescope_driver-1.0.3-cp310-cp310-macosx_12_0_x86_64.whl (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7) 2022-10-26T16:21:56,775 Skipping link: No binaries permitted for pyjoulescope-driver: https://files.pythonhosted.org/packages/cc/34/6f4977c859be863029a88483a9e894a4e6b25101395e5097fba36ece6dd6/pyjoulescope_driver-1.0.3-cp310-cp310-win_amd64.whl (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7) 2022-10-26T16:21:56,775 Skipping link: No binaries permitted for pyjoulescope-driver: https://files.pythonhosted.org/packages/ef/1f/1cd686b3f4801f46633eb4ee78364d85c301a0c7ca2db351d7768e8c3311/pyjoulescope_driver-1.0.3-cp38-cp38-win_amd64.whl (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7) 2022-10-26T16:21:56,775 Skipping link: No binaries permitted for pyjoulescope-driver: https://files.pythonhosted.org/packages/d7/4a/5a8af7e568917c27304dd52e0309ae5c062bf50dd230d3c040204bfcaeda/pyjoulescope_driver-1.0.3-cp39-cp39-win_amd64.whl (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7) 2022-10-26T16:21:56,776 Found link https://files.pythonhosted.org/packages/12/3a/e9ea2700a42c7c1496f211c9720e0a9a63b6fbc64b51067f2f7dac27258a/pyjoulescope_driver-1.0.3.tar.gz (from https://pypi.org/simple/pyjoulescope-driver/) (requires-python:~=3.7), version: 1.0.3 2022-10-26T16:21:56,777 Fetching project page and analyzing links: https://www.piwheels.org/simple/pyjoulescope-driver/ 2022-10-26T16:21:56,777 Getting page https://www.piwheels.org/simple/pyjoulescope-driver/ 2022-10-26T16:21:56,778 Found index url https://www.piwheels.org/simple 2022-10-26T16:21:57,009 Fetched page https://www.piwheels.org/simple/pyjoulescope-driver/ as text/html 2022-10-26T16:21:57,010 Skipping link: not a file: https://www.piwheels.org/simple/pyjoulescope-driver/ 2022-10-26T16:21:57,010 Skipping link: not a file: https://pypi.org/simple/pyjoulescope-driver/ 2022-10-26T16:21:57,026 Given no hashes to check 1 links for project 'pyjoulescope-driver': discarding no candidates 2022-10-26T16:21:57,042 Collecting pyjoulescope-driver==0.2.2 2022-10-26T16:21:57,044 Created temporary directory: /tmp/pip-unpack-1b24gcay 2022-10-26T16:21:57,090 Downloading pyjoulescope_driver-0.2.2.tar.gz (238 kB) 2022-10-26T16:21:57,288 Added pyjoulescope-driver==0.2.2 from https://files.pythonhosted.org/packages/be/4f/f3ddd1763709745ab194db018d5a0bc111cc003338aca9e90b75ec718719/pyjoulescope_driver-0.2.2.tar.gz to build tracker '/tmp/pip-build-tracker-i8nqbzz2' 2022-10-26T16:21:57,289 Running setup.py (path:/tmp/pip-wheel-8w7rixzg/pyjoulescope-driver_fa9a582d39f541e3800fb8a5ca7e28fe/setup.py) egg_info for package pyjoulescope-driver 2022-10-26T16:21:57,290 Created temporary directory: /tmp/pip-pip-egg-info-ca52yvg4 2022-10-26T16:21:57,290 Preparing metadata (setup.py): started 2022-10-26T16:21:57,291 Running command python setup.py egg_info 2022-10-26T16:21:59,294 running egg_info 2022-10-26T16:21:59,297 creating /tmp/pip-pip-egg-info-ca52yvg4/pyjoulescope_driver.egg-info 2022-10-26T16:21:59,318 writing /tmp/pip-pip-egg-info-ca52yvg4/pyjoulescope_driver.egg-info/PKG-INFO 2022-10-26T16:21:59,321 writing dependency_links to /tmp/pip-pip-egg-info-ca52yvg4/pyjoulescope_driver.egg-info/dependency_links.txt 2022-10-26T16:21:59,323 writing entry points to /tmp/pip-pip-egg-info-ca52yvg4/pyjoulescope_driver.egg-info/entry_points.txt 2022-10-26T16:21:59,324 writing requirements to /tmp/pip-pip-egg-info-ca52yvg4/pyjoulescope_driver.egg-info/requires.txt 2022-10-26T16:21:59,325 writing top-level names to /tmp/pip-pip-egg-info-ca52yvg4/pyjoulescope_driver.egg-info/top_level.txt 2022-10-26T16:21:59,327 writing manifest file '/tmp/pip-pip-egg-info-ca52yvg4/pyjoulescope_driver.egg-info/SOURCES.txt' 2022-10-26T16:21:59,414 reading manifest file '/tmp/pip-pip-egg-info-ca52yvg4/pyjoulescope_driver.egg-info/SOURCES.txt' 2022-10-26T16:21:59,415 adding license file 'LICENSE' 2022-10-26T16:21:59,418 writing manifest file '/tmp/pip-pip-egg-info-ca52yvg4/pyjoulescope_driver.egg-info/SOURCES.txt' 2022-10-26T16:21:59,585 Preparing metadata (setup.py): finished with status 'done' 2022-10-26T16:21:59,592 Source in /tmp/pip-wheel-8w7rixzg/pyjoulescope-driver_fa9a582d39f541e3800fb8a5ca7e28fe has version 0.2.2, which satisfies requirement pyjoulescope-driver==0.2.2 from https://files.pythonhosted.org/packages/be/4f/f3ddd1763709745ab194db018d5a0bc111cc003338aca9e90b75ec718719/pyjoulescope_driver-0.2.2.tar.gz 2022-10-26T16:21:59,593 Removed pyjoulescope-driver==0.2.2 from https://files.pythonhosted.org/packages/be/4f/f3ddd1763709745ab194db018d5a0bc111cc003338aca9e90b75ec718719/pyjoulescope_driver-0.2.2.tar.gz from build tracker '/tmp/pip-build-tracker-i8nqbzz2' 2022-10-26T16:21:59,601 Created temporary directory: /tmp/pip-unpack-o7601nit 2022-10-26T16:21:59,602 Building wheels for collected packages: pyjoulescope-driver 2022-10-26T16:21:59,606 Created temporary directory: /tmp/pip-wheel-_1crw3zc 2022-10-26T16:21:59,607 Building wheel for pyjoulescope-driver (setup.py): started 2022-10-26T16:21:59,608 Destination directory: /tmp/pip-wheel-_1crw3zc 2022-10-26T16:21:59,608 Running command python setup.py bdist_wheel 2022-10-26T16:22:01,373 running bdist_wheel 2022-10-26T16:22:01,455 running build 2022-10-26T16:22:01,455 running build_py 2022-10-26T16:22:01,478 creating build 2022-10-26T16:22:01,478 creating build/lib.linux-armv7l-cpython-39 2022-10-26T16:22:01,479 creating build/lib.linux-armv7l-cpython-39/pyjoulescope_driver 2022-10-26T16:22:01,480 copying pyjoulescope_driver/__init__.py -> build/lib.linux-armv7l-cpython-39/pyjoulescope_driver 2022-10-26T16:22:01,482 copying pyjoulescope_driver/version.py -> build/lib.linux-armv7l-cpython-39/pyjoulescope_driver 2022-10-26T16:22:01,483 copying pyjoulescope_driver/__main__.py -> build/lib.linux-armv7l-cpython-39/pyjoulescope_driver 2022-10-26T16:22:01,486 creating build/lib.linux-armv7l-cpython-39/pyjoulescope_driver/entry_points 2022-10-26T16:22:01,487 copying pyjoulescope_driver/entry_points/__init__.py -> build/lib.linux-armv7l-cpython-39/pyjoulescope_driver/entry_points 2022-10-26T16:22:01,488 copying pyjoulescope_driver/entry_points/scan.py -> build/lib.linux-armv7l-cpython-39/pyjoulescope_driver/entry_points 2022-10-26T16:22:01,490 copying pyjoulescope_driver/entry_points/set_parameter.py -> build/lib.linux-armv7l-cpython-39/pyjoulescope_driver/entry_points 2022-10-26T16:22:01,492 copying pyjoulescope_driver/entry_points/info.py -> build/lib.linux-armv7l-cpython-39/pyjoulescope_driver/entry_points 2022-10-26T16:22:01,494 running build_ext 2022-10-26T16:22:01,565 building 'pyjoulescope_driver.binding' extension 2022-10-26T16:22:01,566 creating build/temp.linux-armv7l-cpython-39 2022-10-26T16:22:01,567 creating build/temp.linux-armv7l-cpython-39/pyjoulescope_driver 2022-10-26T16:22:01,568 creating build/temp.linux-armv7l-cpython-39/src 2022-10-26T16:22:01,568 creating build/temp.linux-armv7l-cpython-39/src/backend 2022-10-26T16:22:01,569 creating build/temp.linux-armv7l-cpython-39/src/backend/libusb 2022-10-26T16:22:01,571 creating build/temp.linux-armv7l-cpython-39/third-party 2022-10-26T16:22:01,572 creating build/temp.linux-armv7l-cpython-39/third-party/tinyprintf 2022-10-26T16:22:01,574 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/tmp/pip-wheel-8w7rixzg/pyjoulescope-driver_fa9a582d39f541e3800fb8a5ca7e28fe/include -I/tmp/pip-wheel-8w7rixzg/pyjoulescope-driver_fa9a582d39f541e3800fb8a5ca7e28fe/include_private -I/tmp/pip-wheel-8w7rixzg/pyjoulescope-driver_fa9a582d39f541e3800fb8a5ca7e28fe/third-party/tinyprintf -I/usr/local/lib/python3.9/dist-packages/numpy/core/include -I/usr/include/python3.9 -c pyjoulescope_driver/binding.c -o build/temp.linux-armv7l-cpython-39/pyjoulescope_driver/binding.o 2022-10-26T16:22:02,087 In file included from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1948, 2022-10-26T16:22:02,088 from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, 2022-10-26T16:22:02,088 from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/arrayobject.h:5, 2022-10-26T16:22:02,088 from pyjoulescope_driver/binding.c:803: 2022-10-26T16:22:02,088 /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 2022-10-26T16:22:02,088 17 | #warning "Using deprecated NumPy API, disable it with " \ 2022-10-26T16:22:02,088 | ^~~~~~~ 2022-10-26T16:22:02,169 pyjoulescope_driver/binding.c:811:10: fatal error: jsdrv/union.h: No such file or directory 2022-10-26T16:22:02,169 811 | #include "jsdrv/union.h" 2022-10-26T16:22:02,169 | ^~~~~~~~~~~~~~~ 2022-10-26T16:22:02,170 compilation terminated. 2022-10-26T16:22:02,178 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2022-10-26T16:22:02,394 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2022-10-26T16:22:02,411 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2022-10-26T16:22:02,411 exec(compile('"'"''"'"''"'"' 2022-10-26T16:22:02,411 # This is -- a caller that pip uses to run setup.py 2022-10-26T16:22:02,411 # 2022-10-26T16:22:02,411 # - It imports setuptools before invoking setup.py, to enable projects that directly 2022-10-26T16:22:02,411 # import from `distutils.core` to work with newer packaging standards. 2022-10-26T16:22:02,411 # - It provides a clear error message when setuptools is not installed. 2022-10-26T16:22:02,411 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2022-10-26T16:22:02,411 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2022-10-26T16:22:02,411 # manifest_maker: standard file '"'"'-c'"'"' not found". 2022-10-26T16:22:02,411 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2022-10-26T16:22:02,411 import os, sys, tokenize 2022-10-26T16:22:02,411 2022-10-26T16:22:02,411 try: 2022-10-26T16:22:02,411 import setuptools 2022-10-26T16:22:02,411 except ImportError as error: 2022-10-26T16:22:02,411 print( 2022-10-26T16:22:02,411 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2022-10-26T16:22:02,411 "the build environment.", 2022-10-26T16:22:02,411 file=sys.stderr, 2022-10-26T16:22:02,411 ) 2022-10-26T16:22:02,411 sys.exit(1) 2022-10-26T16:22:02,411 2022-10-26T16:22:02,411 __file__ = %r 2022-10-26T16:22:02,411 sys.argv[0] = __file__ 2022-10-26T16:22:02,411 2022-10-26T16:22:02,411 if os.path.exists(__file__): 2022-10-26T16:22:02,411 filename = __file__ 2022-10-26T16:22:02,411 with tokenize.open(__file__) as f: 2022-10-26T16:22:02,411 setup_py_code = f.read() 2022-10-26T16:22:02,411 else: 2022-10-26T16:22:02,411 filename = "" 2022-10-26T16:22:02,411 setup_py_code = "from setuptools import setup; setup()" 2022-10-26T16:22:02,411 2022-10-26T16:22:02,411 exec(compile(setup_py_code, filename, "exec")) 2022-10-26T16:22:02,411 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-8w7rixzg/pyjoulescope-driver_fa9a582d39f541e3800fb8a5ca7e28fe/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-_1crw3zc[/] 2022-10-26T16:22:02,412 [bold magenta]cwd[/]: /tmp/pip-wheel-8w7rixzg/pyjoulescope-driver_fa9a582d39f541e3800fb8a5ca7e28fe/ 2022-10-26T16:22:02,412 Building wheel for pyjoulescope-driver (setup.py): finished with status 'error' 2022-10-26T16:22:02,413 ERROR: Failed building wheel for pyjoulescope-driver 2022-10-26T16:22:02,414 Running setup.py clean for pyjoulescope-driver 2022-10-26T16:22:02,415 Running command python setup.py clean 2022-10-26T16:22:04,018 running clean 2022-10-26T16:22:04,058 removing 'build/temp.linux-armv7l-cpython-39' (and everything under it) 2022-10-26T16:22:04,063 removing 'build/lib.linux-armv7l-cpython-39' (and everything under it) 2022-10-26T16:22:04,068 'build/bdist.linux-armv7l' does not exist -- can't clean it 2022-10-26T16:22:04,068 'build/scripts-3.9' does not exist -- can't clean it 2022-10-26T16:22:04,068 removing 'build' 2022-10-26T16:22:04,235 Failed to build pyjoulescope-driver 2022-10-26T16:22:04,237 ERROR: Failed to build one or more wheels 2022-10-26T16:22:04,238 Exception information: 2022-10-26T16:22:04,238 Traceback (most recent call last): 2022-10-26T16:22:04,238 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2022-10-26T16:22:04,238 status = run_func(*args) 2022-10-26T16:22:04,238 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2022-10-26T16:22:04,238 return func(self, options, args) 2022-10-26T16:22:04,238 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 201, in run 2022-10-26T16:22:04,238 raise CommandError("Failed to build one or more wheels") 2022-10-26T16:22:04,238 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2022-10-26T16:22:04,241 Removed build tracker: '/tmp/pip-build-tracker-i8nqbzz2'