ralmn / OctoPrint-Ikea-tradfri

Control Ikea Tradfri outlet from Octoprint
https://plugins.octoprint.org/plugins/ikea_tradfri/
10 stars 4 forks source link

Install Error #51

Open SimoneDeVittori opened 2 years ago

SimoneDeVittori commented 2 years ago

ERROR: Failed building wheel for cryptography ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly Error! Could not parse output from pip, see plugin_pluginmanager_console.log for generated output

OctoPrint 1.7.2 Python 3.7.3 OctoPi 0.18.0

DerBoeck commented 2 years ago

Same problem here!

pascals92 commented 2 years ago

also here! :/

p0w3rmast3r commented 2 years ago

Same Problem here!

g233hacker commented 2 years ago

Same here!

ralmn commented 2 years ago

I canno't reproduce on my rapsberrypi (3B+ and 4B) with OctoPrint 1.8.1, Octopi 0.18.0, Python 3.7.3, PIP 20.3.3

Can you send me the Systeminfo bundle? (Settings -> System Informations -> Download Systeminfo Bundle)

g233hacker commented 2 years ago

here is the Systeminfo bundle octoprint-systeminfo-20220605170743.zip

g233hacker commented 2 years ago

new error now Failed to build DTLSSocket ERROR: Could not build wheels for DTLSSocket, which is required to install pyproject.toml-based projects Error! Could not parse output from pip, see plugin_pluginmanager_console.log for generated output

ralmn commented 2 years ago

I'm still trying to figure out why you have this problem...

@g233hacker maybe your problem is related to https://github.com/kabel42/DTLSSocket/issues/4

Icegames-dk commented 1 year ago

Hi

octoprint.version: 1.8.3 printer.firmware: Marlin 2.1.1 env.python.version: 3.7.3 env.plugins.pi_support.model: Raspberry Pi 3 Model B Plus Rev 1.3 env.plugins.pi_support.octopi_version: 0.18.0

I have this error:

Building wheel for cryptography (PEP 517): startedERROR: Command errored out with exit status 1:command: /home/pi/oprint/bin/python3 /home/pi/oprint/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp8kpfhnmvcwd: /tmp/pip-install-tdo09l27/cryptography_5ce89bd56ca64b3386dd730573461617Complete output (193 lines):running bdist_wheelrunning buildrunning build_pycreating buildcreating build/lib.linux-armv7l-cpython-37creating build/lib.linux-armv7l-cpython-37/cryptographycopying src/cryptography/init.py -> build/lib.linux-armv7l-cpython-37/cryptographycopying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-37/cryptographycopying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-37/cryptographycopying src/cryptography/about.py -> build/lib.linux-armv7l-cpython-37/cryptographycopying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-37/cryptographycreating build/lib.linux-armv7l-cpython-37/cryptography/hazmatcopying src/cryptography/hazmat/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmatcopying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmatcreating build/lib.linux-armv7l-cpython-37/cryptography/x509copying src/cryptography/x509/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitivescopying src/cryptography/hazmat/primitives/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitivescopying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitivescopying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitivescopying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitivescopying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitivescopying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitivescopying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitivescopying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitivescopying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitivescopying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitivescopying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitivescreating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backendscopying src/cryptography/hazmat/backends/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backendscreating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindingscopying src/cryptography/hazmat/bindings/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindingscreating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/cipherscopying src/cryptography/hazmat/primitives/ciphers/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/cipherscopying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/cipherscopying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/cipherscopying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/cipherscopying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/cipherscreating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdfcopying src/cryptography/hazmat/primitives/kdf/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdfcopying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdfcopying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdfcopying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdfcopying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdfcopying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdfcopying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdfcreating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactorcopying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactorcopying src/cryptography/hazmat/primitives/twofactor/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactorcopying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactorcreating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetriccopying src/cryptography/hazmat/primitives/asymmetric/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetriccopying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetriccopying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetriccopying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetriccopying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetriccopying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetriccopying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetriccopying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetriccopying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetriccopying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetriccopying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetriccopying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetriccreating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serializationcopying src/cryptography/hazmat/primitives/serialization/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serializationcopying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serializationcopying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serializationcopying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serializationcopying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serializationcreating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcopying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/opensslcreating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/opensslcopying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/opensslcopying src/cryptography/hazmat/bindings/openssl/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/opensslcopying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/opensslrunning egg_infowriting src/cryptography.egg-info/PKG-INFOwriting dependency_links to src/cryptography.egg-info/dependency_links.txtwriting requirements to src/cryptography.egg-info/requires.txtwriting top-level names to src/cryptography.egg-info/top_level.txtreading manifest file 'src/cryptography.egg-info/SOURCES.txt'reading manifest template 'MANIFEST.in'no previously-included directories found matching 'docs/_build'warning: no previously-included files found matching 'vectors'warning: no previously-included files matching '' found under directory 'vectors'warning: no previously-included files matching '' found under directory '.github'warning: no previously-included files found matching 'release.py'warning: no previously-included files found matching '.readthedocs.yml'warning: no previously-included files found matching 'dev-requirements.txt'warning: no previously-included files found matching 'tox.ini'warning: no previously-included files found matching 'mypy.ini'warning: no previously-included files matching '*' found under directory '.circleci'adding license file 'LICENSE'adding license file 'LICENSE.APACHE'adding license file 'LICENSE.BSD'adding license file 'LICENSE.PSF'writing manifest file 'src/cryptography.egg-info/SOURCES.txt'copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-37/cryptographycopying src/cryptography/hazmat/bindings/_openssl.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindingscreating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rustcopying src/cryptography/hazmat/bindings/_rust/init.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rustcopying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rustcopying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rustcopying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rustrunning build_extgenerating cffi module 'build/temp.linux-armv7l-cpython-37/cryptography.hazmat.bindings._openssl.c'creating build/temp.linux-armv7l-cpython-37running build_rust/tmp/pip-build-env-jppyzs03/overlay/lib/python3.7/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in packages.!!############################# Package would be ignored #############################Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,but it is not listed in the packages configuration of setuptools.'cryptography.hazmat.bindings._rust' has been automatically added to the distribution onlybecause it may contain data files, but this behavior is likely to changein future versions of setuptools (and therefore is considered deprecated).Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by usingthe packages configuration field or the proper discovery methods(for example by using find_namespace_packages(...)/find_namespace:instead of find_packages(...)/find:).You can read more about "package discovery" and "data files" on setuptoolsdocumentation page.!!check.warn(importable)=============================DEBUG ASSISTANCE=============================If you are seeing a compilation error please try the following steps tosuccessfully install cryptography:1) Upgrade to the latest pip and try again. This will fix errors for mostusers. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip2) Read https://cryptography.io/en/latest/installation/ for specificinstructions for your platform.3) Check our frequently asked questions for more information:https://cryptography.io/en/latest/faq/4) Ensure you have a recent Rust toolchain installed:https://cryptography.io/en/latest/installation/#rustPython: 3.7.3platform: Linux-5.10.63-v7+-armv7l-with-debian-10.6pip: n/asetuptools: 65.3.0setuptools_rust: 1.5.2rustc: n/a=============================DEBUG ASSISTANCE=============================error: can't find Rust compilerIf you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.To update pip, run:pip install --upgrade pipand then retry package installation.If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.This package requires Rust >=1.48.0.----------------------------------------ERROR: Failed building wheel for cryptographyERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directlyBuilding wheel for cryptography (PEP 517): finished with status 'error'Successfully built OctoPrint-Ikea-Tradfri aiocoapFailed to build cryptographyLooks like the plugin was already installed. Forcing a reinstall.

I hope it helps fixing the problem, the pugin is very use full.

Criticalstone commented 1 year ago

Hi! I resolved this by installing the following packages manually on the pi sudo apt-get install build-essential libssl-dev libffi-dev python-dev Then installing the rust compiler as well as manually installing the cryptography python package /OctoPrint/bin/pip install cryptography

Thidsa commented 1 year ago

More or less the same here:

DietPi v8.10.2 : 01:01 - Tue 11/22/22 OctoPrint 1.8.6 Python 3.7.3 rustc 1.65.0 (897e37553 2022-11-02) octoprint-systeminfo-20221122025322.zip

After a reinstall of a loong working octoprint, your IKEA plugin dont reinstall with above mentioned problems. Resolving like @Criticalstone did doesnt work here.

Installing plugin "Ikea Tradfri" from https://github.com/ralmn/OctoPrint-Ikea-tradfri/archive/master.zip... /usr/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmpdbsmgtsb/OctoPrint-Ikea-tradfri-master.zip --no-cache-dir --user Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Processing /tmp/tmpdbsmgtsb/OctoPrint-Ikea-tradfri-master.zip Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting aiocoap[all]@ https://github.com/chrysn/aiocoap/archive/master.zip Downloading https://github.com/chrysn/aiocoap/archive/master.zip \ 344.7 kB 2.2 MB/s 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: OctoPrint in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint-Ikea-Tradfri==1.7.5) (1.8.6) Requirement already satisfied: sarge in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint-Ikea-Tradfri==1.7.5) (0.1.6) Collecting LinkHeader Downloading https://www.piwheels.org/simple/linkheader/LinkHeader-0.4.3-py3-none-any.whl (5.7 kB) Collecting cbor2 Downloading https://www.piwheels.org/simple/cbor2/cbor2-5.4.3-cp37-cp37m-linux_armv7l.whl (99 kB) ???????????????????????????????????????? 99.7/99.7 kB 1.0 MB/s eta 0:00:00 Collecting cryptography>=2.0 Downloading cryptography-38.0.3.tar.gz (599 kB) ??????????????????????????????????????? 599.9/599.9 kB 8.3 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting filelock Downloading https://www.piwheels.org/simple/filelock/filelock-3.8.0-py3-none-any.whl (10 kB) Collecting ge25519 Downloading https://www.piwheels.org/simple/ge25519/ge25519-1.3.0-py3-none-any.whl (46 kB) ??????????????????????????????????????? 46.4/46.4 kB 904.5 kB/s eta 0:00:00 Collecting DTLSSocket>=0.1.11a1 Downloading https://www.piwheels.org/simple/dtlssocket/DTLSSocket-0.1.12-cp37-cp37m-linux_armv7l.whl (291 kB) ??????????????????????????????????????? 291.7/291.7 kB 3.3 MB/s eta 0:00:00 Collecting websockets Downloading https://www.piwheels.org/simple/websockets/websockets-10.4-cp37-cp37m-linux_armv7l.whl (109 kB) ?????????????????????????????????????? 109.4/109.4 kB 21.9 MB/s eta 0:00:00 Collecting termcolor Downloading https://www.piwheels.org/simple/termcolor/termcolor-2.1.1-py3-none-any.whl (6.2 kB) Requirement already satisfied: pygments in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from aiocoap[all]@ https://github.com/chrysn/aiocoap/archive/master.zip->OctoPrint-Ikea-Tradfri==1.7.5) (2.13.0) Requirement already satisfied: zipstream-ng<2.0.0,>=1.3.4 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.3.4) Requirement already satisfied: OctoPrint-PiSupport>=2022.3.28 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2022.6.13) Requirement already satisfied: wrapt<1.14,>=1.13.3 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.13.3) Requirement already satisfied: flask<2.2,>=2.1 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.1.3) Requirement already satisfied: pyserial<4,>=3.4 in /usr/local/lib/python3.7/dist-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (3.4) Requirement already satisfied: pylru<2,>=1.2 in /usr/local/lib/python3.7/dist-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.2.0) Requirement already satisfied: zeroconf<0.34,>=0.33 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (0.33.4) Requirement already satisfied: Flask-Login<0.6,>=0.5 in /usr/local/lib/python3.7/dist-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (0.5.0) Requirement already satisfied: filetype<2,>=1.0.7 in /usr/local/lib/python3.7/dist-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.0.7) Requirement already satisfied: sentry-sdk<2,>=1.5.7 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.11.0) Requirement already satisfied: feedparser<7,>=6.0.8 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (6.0.10) Requirement already satisfied: regex in /usr/local/lib/python3.7/dist-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2020.10.23) Requirement already satisfied: colorlog<7,>=6 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (6.7.0) Requirement already satisfied: PyYAML<6,>=5.4.1 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (5.4.1) Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2021.2.23) Requirement already satisfied: frozendict<3,>=2.0 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.3.4) Requirement already satisfied: werkzeug<2.1,>=2.0 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.0.3) Requirement already satisfied: semantic-version<3,>=2.8.5 in /usr/local/lib/python3.7/dist-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.8.5) Requirement already satisfied: emoji<2,>=1.4.2 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.7.0) Requirement already satisfied: future<1,>=0.18.2 in /usr/local/lib/python3.7/dist-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (0.18.2) Requirement already satisfied: pathvalidate<3,>=2.4.1 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.5.2) Requirement already satisfied: cachelib<0.3,>=0.2 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (0.2.0) Requirement already satisfied: passlib<2,>=1.7.4 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.7.4) Requirement already satisfied: unidecode in /usr/local/lib/python3.7/dist-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (0.4.21) Requirement already satisfied: tornado<7,>=6.0.4 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (6.2) Requirement already satisfied: netifaces<1,>=0.11 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (0.11.0) Requirement already satisfied: netaddr<0.9,>=0.8 in /usr/local/lib/python3.7/dist-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (0.8.0) Requirement already satisfied: watchdog<2,>=1 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.0.2) Requirement already satisfied: websocket-client<2,>=1.2.1 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.4.2) Requirement already satisfied: markdown<4,>=3.2.2 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (3.4.1) Requirement already satisfied: Click<9,>=8.0.3 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (8.1.3) Requirement already satisfied: Flask-Assets<3,>=2.0 in /usr/local/lib/python3.7/dist-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.0) Requirement already satisfied: requests<3,>=2.26.0 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.28.1) Requirement already satisfied: argon2-cffi<22,>=21.3.0 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (21.3.0) Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.10.11 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2021.10.11) Requirement already satisfied: Flask-Babel<3,>=2.0 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.0.0) Requirement already satisfied: pkginfo<2,>=1.7.1 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.8.3) Requirement already satisfied: psutil<6,>=5.8 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (5.9.4) Requirement already satisfied: blinker<2,>=1.4 in /usr/local/lib/python3.7/dist-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.4) Requirement already satisfied: Flask-Limiter<3,>=2.6 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.8.1) Requirement already satisfied: typing-extensions in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from argon2-cffi<22,>=21.3.0->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (4.4.0) Requirement already satisfied: argon2-cffi-bindings in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from argon2-cffi<22,>=21.3.0->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (21.2.0) Requirement already satisfied: importlib-metadata in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from Click<9,>=8.0.3->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (5.0.0) Requirement already satisfied: cffi>=1.12 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from cryptography>=2.0->aiocoap[all]@ https://github.com/chrysn/aiocoap/archive/master.zip->OctoPrint-Ikea-Tradfri==1.7.5) (1.15.1) Collecting Cython Downloading https://www.piwheels.org/simple/cython/Cython-0.29.32-cp37-cp37m-linux_armv7l.whl (2.3 MB) ???????????????????????????????????????? 2.3/2.3 MB 8.1 MB/s eta 0:00:00 Requirement already satisfied: sgmllib3k in /usr/local/lib/python3.7/dist-packages (from feedparser<7,>=6.0.8->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.0.0) Requirement already satisfied: itsdangerous>=2.0 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from flask<2.2,>=2.1->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.1.2) Requirement already satisfied: Jinja2>=3.0 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from flask<2.2,>=2.1->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (3.1.2) Requirement already satisfied: webassets>=2.0 in /usr/local/lib/python3.7/dist-packages (from Flask-Assets<3,>=2.0->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.0) Requirement already satisfied: pytz in /usr/local/lib/python3.7/dist-packages (from Flask-Babel<3,>=2.0->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2020.1) Requirement already satisfied: Babel>=2.3 in /usr/local/lib/python3.7/dist-packages (from Flask-Babel<3,>=2.0->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.8.0) Requirement already satisfied: rich<13,>=12 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (12.6.0) Requirement already satisfied: limits>=2.3 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.7.1) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests<3,>=2.26.0->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2020.6.20) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests<3,>=2.26.0->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.10) Requirement already satisfied: charset-normalizer<3,>=2 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from requests<3,>=2.26.0->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.1.1) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from requests<3,>=2.26.0->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.26.12) Requirement already satisfied: ifaddr>=0.1.7 in /usr/local/lib/python3.7/dist-packages (from zeroconf<0.34,>=0.33->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (0.1.7) Collecting fe25519~=1.3 Downloading https://www.piwheels.org/simple/fe25519/fe25519-1.3.0-py3-none-any.whl (8.4 kB) Requirement already satisfied: pycparser in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from cffi>=1.12->cryptography>=2.0->aiocoap[all]@ https://github.com/chrysn/aiocoap/archive/master.zip->OctoPrint-Ikea-Tradfri==1.7.5) (2.21) Requirement already satisfied: zipp>=0.5 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from importlib-metadata->Click<9,>=8.0.3->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (3.10.0) Requirement already satisfied: MarkupSafe>=2.0 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from Jinja2>=3.0->flask<2.2,>=2.1->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (2.1.1) Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (from limits>=2.3->Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (50.3.2) Requirement already satisfied: packaging<22,>=21 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from limits>=2.3->Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (21.3) Requirement already satisfied: deprecated>=1.2 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from limits>=2.3->Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (1.2.13) Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from rich<13,>=12->Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (0.9.1) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /mnt/dietpi_userdata/octoprint/.local/lib/python3.7/site-packages (from packaging<22,>=21->limits>=2.3->Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-Ikea-Tradfri==1.7.5) (3.0.9) Building wheels for collected packages: OctoPrint-Ikea-Tradfri, cryptography, aiocoap Building wheel for OctoPrint-Ikea-Tradfri (setup.py): started Building wheel for OctoPrint-Ikea-Tradfri (setup.py): finished with status 'done' Created wheel for OctoPrint-Ikea-Tradfri: filename=OctoPrint_Ikea_Tradfri-1.7.5-py3-none-any.whl size=17530 sha256=eca7334f83d7106b1d2de51ab754a88ae317dd3095ae495a1e200ddc0370af6b Stored in directory: /tmp/pip-ephem-wheel-cache-g1gir3re/wheels/82/51/23/13966e1721c5cecc0474b482273153cd04ac1323180ea2b6d0 Building wheel for cryptography (pyproject.toml): started error: subprocess-exited-with-error × Building wheel for cryptography (pyproject.toml) did not run successfully. ¦ exit code: 1 ?-> [179 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-cpython-37 creating build/lib.linux-armv7l-cpython-37/cryptography copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-37/cryptography copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-37/cryptography copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-37/cryptography copying src/cryptography/init.py -> build/lib.linux-armv7l-cpython-37/cryptography copying src/cryptography/about.py -> build/lib.linux-armv7l-cpython-37/cryptography creating build/lib.linux-armv7l-cpython-37/cryptography/x509 copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509 copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509 copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509 copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509 copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509 copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509 copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509 copying src/cryptography/x509/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509 creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat copying src/cryptography/hazmat/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings copying src/cryptography/hazmat/bindings/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactor creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/openssl creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl running egg_info writing src/cryptography.egg-info/PKG-INFO writing dependency_links to src/cryptography.egg-info/dependency_links.txt writing requirements to src/cryptography.egg-info/requires.txt writing top-level names to src/cryptography.egg-info/top_level.txt reading manifest file 'src/cryptography.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no previously-included files found matching 'vectors' warning: no previously-included files matching '' found under directory 'vectors' warning: no previously-included files matching '' found under directory '.github' warning: no previously-included files found matching 'release.py' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'dev-requirements.txt' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files found matching 'mypy.ini' warning: no previously-included files matching '*' found under directory '.circleci' adding license file 'LICENSE' adding license file 'LICENSE.APACHE' adding license file 'LICENSE.BSD' adding license file 'LICENSE.PSF' writing manifest file 'src/cryptography.egg-info/SOURCES.txt' copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-37/cryptography copying src/cryptography/hazmat/bindings/_openssl.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/init.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust running build_ext running build_rust /tmp/pip-build-env-fywt9lzh/overlay/lib/python3.7/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in packages. !! ############################

Package would be ignored

############################ Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package, but it is not listed in the packages configuration of setuptools. 'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using the packages configuration field or the proper discovery methods (for example by using find_namespace_packages(...)/find_namespace: instead of find_packages(...)/find:). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) =============================DEBUG ASSISTANCE============================= If you are seeing a compilation error please try the following steps to successfully install cryptography: 1) Upgrade to the latest pip and try again. This will fix errors for most users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip 2) Read https://cryptography.io/en/latest/installation/ for specific instructions for your platform. 3) Check our frequently asked questions for more information: https://cryptography.io/en/latest/faq/ 4) Ensure you have a recent Rust toolchain installed: https://cryptography.io/en/latest/installation/#rust Python: 3.7.3 platform: Linux-5.10.103-v7l+-armv7l-with-debian-10.13 pip: n/a setuptools: 65.6.0 setuptools_rust: 1.5.2 rustc: 1.41.1 =============================DEBUG ASSISTANCE============================= error: Rust 1.41.1 does not match extension requirement >=1.48.0 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cryptography Building wheel for cryptography (pyproject.toml): finished with status 'error' Building wheel for aiocoap (setup.py): started ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects Building wheel for aiocoap (setup.py): finished with status 'done' Created wheel for aiocoap: filename=aiocoap-0.4.4.post0-py3-none-any.whl size=205327 sha256=92e3fc553fcb1ae314d5a026fb6e49ba3f1a28d93073113d5012cfb439865820 Stored in directory: /tmp/pip-ephem-wheel-cache-g1gir3re/wheels/ac/63/18/9dca5312fc554d98cb22965dcf831b3b500215d7e43fd91507 Successfully built OctoPrint-Ikea-Tradfri aiocoap Failed to build cryptography Looks like the plugin was already installed. Forcing a reinstall. /usr/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmpdbsmgtsb/OctoPrint-Ikea-tradfri-master.zip --no-cache-dir --ignore-installed --force-reinstall --no-deps --user Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Processing /tmp/tmpdbsmgtsb/OctoPrint-Ikea-tradfri-master.zip Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: OctoPrint-Ikea-Tradfri Building wheel for OctoPrint-Ikea-Tradfri (setup.py): started Building wheel for OctoPrint-Ikea-Tradfri (setup.py): finished with status 'done' Created wheel for OctoPrint-Ikea-Tradfri: filename=OctoPrint_Ikea_Tradfri-1.7.5-py3-none-any.whl size=17530 sha256=ffa9304e727cd52f53895cecbaa157a44f0963c0769249a558f6b69bbc355010 Stored in directory: /tmp/pip-ephem-wheel-cache-jx2ds8sg/wheels/82/51/23/13966e1721c5cecc0474b482273153cd04ac1323180ea2b6d0 Successfully built OctoPrint-Ikea-Tradfri Installing collected packages: OctoPrint-Ikea-Tradfri Successfully installed OctoPrint-Ikea-Tradfri-1.7.5 Done!

lionB777 commented 1 year ago

I have the same issue here as well. I just tried to install the tradfri plugin on a fresh octoprint install on a RPI4. No success too. Thanks.

mchety commented 1 year ago

This issue also came up for me after reinstalling octoprint. I tried Criticalstone's advice, but it did not fix the issue. The plug-in had been running fine before, but now comes up with the above errors.

ralmn commented 1 year ago

Can you give me as much info as possible on how you reinstalled octoprint so I can try to reproduce it. Each time I can't reproduce the problem...

mchety commented 1 year ago

I’m using a Pi 4b 4gb, which had been working fine, but I had some issues with it disconnecting from wifi randomly so I decided to grab a new sd card and flash it with octoprint via the Raspi imager (I just used the OS that was in Raspi imager under the specific purpose OSs).

I then uploaded an octopi back up from the previous install. But when the backup loaded, the tradfri plugin was missing, so I tried reinstalling it, but got the same error messages shown above.

I am running the Pi on a 5G wifi network, and am using a 64gb micro sd card.

Thidsa commented 1 year ago

Hi again. Have not tried again since i tried installing many times in november last year. It worked now after updating Octoprint to 1.8.7. I dont know if that was the reason or not, but seems like it :) Bjørn

sNaj2k commented 1 year ago

After reinstalling my RPi4 I'm facing the same issue. I installed a fresh Version of Octoprint 1.8.7.

Thidsa commented 1 year ago

I would have tried an older octoprint version and see if the plugin would work, then upgraded octoprint

sNaj2k commented 1 year ago

I would have tried an older octoprint version and see if the plugin would work, then upgraded octoprint

i dont think it is possible to downgrade to an older version without reinstalling everything. i upgraded to the RC of Octoprint but the issue is still there.

Building wheel for cryptography (pyproject.toml): started error: subprocess-exited-with-error × Building wheel for cryptography (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [247 lines of output]

sNaj2k commented 1 year ago

I somehow fixed it. While installing OctoLapse I got an Error which stated something about this Tradfri Plugin and I need to install this:

https://github.com/chrysn/aiocoap/archive/master.zip

I did and now your plugin works.

Thidsa commented 1 year ago

Great find if that was it. Remember Ikea plugin need something ...coap before, maybe libcoap

sNaj2k commented 1 year ago

Great find if that was it. Remember Ikea plugin need something ...coap before, maybe libcoap

it still cant connect to the gateway though. This whole thing is a mess. Why the hell cant i connect to the gateway even though the IP and the security code is correct. I shouldnt have reinstalled my Pi. Everythings broken.