Code: Select all
pi@domoticz:~ $ sudo apt update; sudo apt upgrade
Atteint :1 https://download.docker.com/linux/raspbian stretch InRelease
Atteint :2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Atteint :3 http://archive.raspbian.org/raspbian jessie InRelease
Atteint :4 http://archive.raspberrypi.org/debian buster InRelease
Atteint :5 https://dl.yarnpkg.com/debian stable InRelease
Atteint :6 https://deb.nodesource.com/node_12.x stretch InRelease
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
pi@domoticz:~ $ sudo -H pip3 install --upgrade setuptools
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: setuptools in /usr/local/lib/python3.7/dist-packages (46.4.0)
pi@domoticz:~ $ sudo -H pip3 install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: pip in /usr/local/lib/python3.7/dist-packages (20.1.1)
pi@domoticz:~ $ sudo -H pip3 install -U py3coap
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting py3coap
Using cached py3coap-0.8.0.tar.gz (5.3 kB)
Building wheels for collected packages: py3coap
Building wheel for py3coap (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-_wyyg5sx/py3coap/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_wyyg5sx/py3coap/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-6j3iw1u6
cwd: /tmp/pip-install-_wyyg5sx/py3coap/
Complete output (53 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/py3coap
copying py3coap/errors.py -> build/lib.linux-armv7l-3.7/py3coap
copying py3coap/__init__.py -> build/lib.linux-armv7l-3.7/py3coap
copying py3coap/py3coap.py -> build/lib.linux-armv7l-3.7/py3coap
running build_ext
$ GOPATH=/tmp/tmphgxcnm8e go get -d
package github.com/moroen/gocoap/v2: cannot find package "github.com/moroen/gocoap/v2" in any of:
/usr/lib/go-1.11/src/github.com/moroen/gocoap/v2 (from $GOROOT)
/tmp/tmphgxcnm8e/src/github.com/moroen/gocoap/v2 (from $GOPATH)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-_wyyg5sx/py3coap/setup.py", line 22, in <module>
scripts=["pycoap-client"],
File "/usr/local/lib/python3.7/dist-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 188, in run
self.run_command('build')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.7/dist-packages/setuptools/command/build_ext.py", line 87, in run
_build_ext.run(self)
File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/usr/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/tmp/pip-install-_wyyg5sx/py3coap/.eggs/setuptools_golang-2.1.1-py3.7.egg/setuptools_golang.py", line 140, in build_extension
_check_call(cmd_get, cwd=pkg_path, env=env)
File "/tmp/pip-install-_wyyg5sx/py3coap/.eggs/setuptools_golang-2.1.1-py3.7.egg/setuptools_golang.py", line 97, in _check_call
subprocess.check_call(cmd, cwd=cwd, env=dict(os.environ, **env))
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('go', 'get', '-d')' returned non-zero exit status 1.
----------------------------------------
ERROR: Failed building wheel for py3coap
Running setup.py clean for py3coap
Failed to build py3coap
Installing collected packages: py3coap
Running setup.py install for py3coap ... 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-_wyyg5sx/py3coap/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_wyyg5sx/py3coap/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-d7798aoy/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/py3coap
cwd: /tmp/pip-install-_wyyg5sx/py3coap/
Complete output (55 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/py3coap
copying py3coap/errors.py -> build/lib.linux-armv7l-3.7/py3coap
copying py3coap/__init__.py -> build/lib.linux-armv7l-3.7/py3coap
copying py3coap/py3coap.py -> build/lib.linux-armv7l-3.7/py3coap
running build_ext
$ GOPATH=/tmp/tmpw38award go get -d
package github.com/moroen/gocoap/v2: cannot find package "github.com/moroen/gocoap/v2" in any of:
/usr/lib/go-1.11/src/github.com/moroen/gocoap/v2 (from $GOROOT)
/tmp/tmpw38award/src/github.com/moroen/gocoap/v2 (from $GOPATH)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-_wyyg5sx/py3coap/setup.py", line 22, in <module>
scripts=["pycoap-client"],
File "/usr/local/lib/python3.7/dist-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.7/dist-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run
self.run_command('build')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.7/dist-packages/setuptools/command/build_ext.py", line 87, in run
_build_ext.run(self)
File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/usr/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/tmp/pip-install-_wyyg5sx/py3coap/.eggs/setuptools_golang-2.1.1-py3.7.egg/setuptools_golang.py", line 140, in build_extension
_check_call(cmd_get, cwd=pkg_path, env=env)
File "/tmp/pip-install-_wyyg5sx/py3coap/.eggs/setuptools_golang-2.1.1-py3.7.egg/setuptools_golang.py", line 97, in _check_call
subprocess.check_call(cmd, cwd=cwd, env=dict(os.environ, **env))
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('go', 'get', '-d')' returned non-zero 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-_wyyg5sx/py3coap/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_wyyg5sx/py3coap/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-d7798aoy/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/py3coap Check the logs for full command output.