Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug]: error: can't find Rust compiler #12

Closed
BillsWorkbench opened this issue Jan 9, 2023 · 2 comments
Closed

[Bug]: error: can't find Rust compiler #12

BillsWorkbench opened this issue Jan 9, 2023 · 2 comments
Labels
confirmed bug Bug reproduced and needs to be fixed solved Solved, but not yet released.

Comments

@BillsWorkbench
Copy link

Description of the bug

I tried to install your plugin via the plugin manager and received this error: error: can't find Rust compiler.

The log is attached.

Plugin version

1.0.4

OctoPrint version

1.8.6

OctoPrint logs

Installing plugin "OneDrive File Sync" from https://github.com/cp2004/OctoPrint-OneDriveFileSync/releases/latest/download/release.zip...
/home/pi/oprint/bin/python -m pip --disable-pip-version-check install file:///tmp/tmpfdh6c1n6/release.zip --no-cache-dir
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing /tmp/tmpfdh6c1n6/release.zip
Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint-OneDriveFileSync==1.0.4) (1.8.6)
Collecting octo-onedrive==0.0.6
Downloading octo_onedrive-0.0.6-py3-none-any.whl (19 kB)
Requirement already satisfied: PyYAML<6,>=5.4.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (5.4.1)
Requirement already satisfied: markdown<4,>=3.2.2 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (3.3.7)
Requirement already satisfied: pylru<2,>=1.2 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.2.0)
Requirement already satisfied: watchdog<2,>=1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.0.2)
Requirement already satisfied: OctoPrint-PiSupport>=2022.3.28 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2022.6.13)
Requirement already satisfied: requests<3,>=2.26.0 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.26.0)
Requirement already satisfied: unidecode in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (0.4.21)
Requirement already satisfied: semantic-version<3,>=2.8.5 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.8.5)
Requirement already satisfied: werkzeug<2.1,>=2.0 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.0.3)
Requirement already satisfied: zipstream-ng<2.0.0,>=1.3.4 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.3.4)
Requirement already satisfied: argon2-cffi<22,>=21.3.0 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (21.3.0)
Requirement already satisfied: pyserial<4,>=3.4 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (3.4)
Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2021.2.23)
Requirement already satisfied: Flask-Login<0.6,>=0.5 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (0.5.0)
Requirement already satisfied: wrapt<1.14,>=1.13.3 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.13.3)
Requirement already satisfied: passlib<2,>=1.7.4 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.7.4)
Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.0)
Requirement already satisfied: future<1,>=0.18.2 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (0.18.2)
Requirement already satisfied: Flask-Babel<3,>=2.0 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.0.0)
Requirement already satisfied: zeroconf<0.34,>=0.33 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (0.33.4)
Requirement already satisfied: frozendict<3,>=2.0 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.3.2)
Requirement already satisfied: emoji<2,>=1.4.2 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.6.0)
Requirement already satisfied: feedparser<7,>=6.0.8 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (6.0.8)
Requirement already satisfied: Click<9,>=8.0.3 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (8.1.3)
Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.10.11 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2021.10.11)
Requirement already satisfied: regex in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2020.7.14)
Requirement already satisfied: filetype<2,>=1.0.7 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.0.7)
Requirement already satisfied: websocket-client<2,>=1.2.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.3.2)
Requirement already satisfied: netifaces<1,>=0.11 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (0.11.0)
Requirement already satisfied: Flask-Limiter<3,>=2.6 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.7.0)
Requirement already satisfied: netaddr<0.9,>=0.8 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (0.8.0)
Requirement already satisfied: pkginfo<2,>=1.7.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.7.1)
Requirement already satisfied: flask<2.2,>=2.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.1.2)
Requirement already satisfied: blinker<2,>=1.4 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.4)
Requirement already satisfied: pathvalidate<3,>=2.4.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.5.0)
Requirement already satisfied: tornado<7,>=6.0.4 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (6.1)
Requirement already satisfied: psutil<6,>=5.8 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (5.8.0)
Requirement already satisfied: sarge==0.1.6 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (0.1.6)
Requirement already satisfied: sentry-sdk<2,>=1.5.7 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.5.12)
Requirement already satisfied: cachelib<0.3,>=0.2 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (0.2.0)
Requirement already satisfied: colorlog<7,>=6 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (6.6.0)
Collecting msal<2,>=1.18.0
Downloading msal-1.20.0-py2.py3-none-any.whl (90 kB)
Collecting cryptography
Downloading cryptography-39.0.0.tar.gz (603 kB)
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 wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting python-dateutil
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Requirement already satisfied: importlib-metadata>=4.4; python_version < "3.10" in /home/pi/oprint/lib/python3.7/site-packages (from markdown<4,>=3.2.2->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (4.11.4)
Requirement already satisfied: charset-normalizer~=2.0.0; python_version >= "3" in /home/pi/oprint/lib/python3.7/site-packages (from requests<3,>=2.26.0->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.0.7)
Requirement already satisfied: certifi>=2017.4.17 in /home/pi/oprint/lib/python3.7/site-packages (from requests<3,>=2.26.0->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2020.6.20)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/pi/oprint/lib/python3.7/site-packages (from requests<3,>=2.26.0->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.25.10)
Requirement already satisfied: idna<4,>=2.5; python_version >= "3" in /home/pi/oprint/lib/python3.7/site-packages (from requests<3,>=2.26.0->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.10)
Requirement already satisfied: argon2-cffi-bindings in /home/pi/oprint/lib/python3.7/site-packages (from argon2-cffi<22,>=21.3.0->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (21.2.0)
Requirement already satisfied: typing-extensions; python_version < "3.8" in /home/pi/oprint/lib/python3.7/site-packages (from argon2-cffi<22,>=21.3.0->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (4.2.0)
Requirement already satisfied: webassets>=2.0 in /home/pi/oprint/lib/python3.7/site-packages (from Flask-Assets<3,>=2.0->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.0)
Requirement already satisfied: Jinja2>=2.5 in /home/pi/oprint/lib/python3.7/site-packages (from Flask-Babel<3,>=2.0->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (3.1.2)
Requirement already satisfied: Babel>=2.3 in /home/pi/oprint/lib/python3.7/site-packages (from Flask-Babel<3,>=2.0->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.8.0)
Requirement already satisfied: pytz in /home/pi/oprint/lib/python3.7/site-packages (from Flask-Babel<3,>=2.0->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2020.1)
Requirement already satisfied: ifaddr>=0.1.7 in /home/pi/oprint/lib/python3.7/site-packages (from zeroconf<0.34,>=0.33->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (0.1.7)
Requirement already satisfied: sgmllib3k in /home/pi/oprint/lib/python3.7/site-packages (from feedparser<7,>=6.0.8->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.0.0)
Requirement already satisfied: rich<13,>=12 in /home/pi/oprint/lib/python3.7/site-packages (from Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (12.6.0)
Requirement already satisfied: limits>=2.3 in /home/pi/oprint/lib/python3.7/site-packages (from Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.7.1)
Requirement already satisfied: itsdangerous>=2.0 in /home/pi/oprint/lib/python3.7/site-packages (from flask<2.2,>=2.1->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.1.2)
Collecting PyJWT[crypto]<3,>=1.0.0
Downloading PyJWT-2.6.0-py3-none-any.whl (20 kB)
Requirement already satisfied: cffi>=1.12 in /home/pi/oprint/lib/python3.7/site-packages (from cryptography->octo-onedrive==0.0.6->OctoPrint-OneDriveFileSync==1.0.4) (1.15.1)
Requirement already satisfied: six>=1.5 in /home/pi/oprint/lib/python3.7/site-packages (from python-dateutil->octo-onedrive==0.0.6->OctoPrint-OneDriveFileSync==1.0.4) (1.15.0)
Requirement already satisfied: zipp>=0.5 in /home/pi/oprint/lib/python3.7/site-packages (from importlib-metadata>=4.4; python_version < "3.10"->markdown<4,>=3.2.2->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (3.8.0)
Requirement already satisfied: MarkupSafe>=2.0 in /home/pi/oprint/lib/python3.7/site-packages (from Jinja2>=2.5->Flask-Babel<3,>=2.0->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.1.1)
Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in /home/pi/oprint/lib/python3.7/site-packages (from rich<13,>=12->Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (0.9.1)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in /home/pi/oprint/lib/python3.7/site-packages (from rich<13,>=12->Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (2.13.0)
Requirement already satisfied: setuptools in /home/pi/oprint/lib/python3.7/site-packages (from limits>=2.3->Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (50.3.0)
Requirement already satisfied: packaging<22,>=21 in /home/pi/oprint/lib/python3.7/site-packages (from limits>=2.3->Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (21.3)
Requirement already satisfied: deprecated>=1.2 in /home/pi/oprint/lib/python3.7/site-packages (from limits>=2.3->Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (1.2.13)
Requirement already satisfied: pycparser in /home/pi/oprint/lib/python3.7/site-packages (from cffi>=1.12->cryptography->octo-onedrive==0.0.6->OctoPrint-OneDriveFileSync==1.0.4) (2.21)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /home/pi/oprint/lib/python3.7/site-packages (from packaging<22,>=21->limits>=2.3->Flask-Limiter<3,>=2.6->OctoPrint->OctoPrint-OneDriveFileSync==1.0.4) (3.0.9)
Building wheels for collected packages: OctoPrint-OneDriveFileSync, cryptography
Building wheel for OctoPrint-OneDriveFileSync (setup.py): started
Building wheel for OctoPrint-OneDriveFileSync (setup.py): finished with status 'done'
Created wheel for OctoPrint-OneDriveFileSync: filename=OctoPrint_OneDriveFileSync-1.0.4-py2.py3-none-any.whl size=236299 sha256=e2e265661b74073feea64ee584cc21b834489609ec4bd6a844ba5895be690654
Stored in directory: /tmp/pip-ephem-wheel-cache-4s7g9fmd/wheels/42/6c/a6/18957949dd11427b9eb5e77326f5a8a1a8f13cecc80ee6e11c
Building wheel for cryptography (PEP 517): started
Building wheel for cryptography (PEP 517): finished with status 'error'
Successfully built OctoPrint-OneDriveFileSync
Failed to build cryptography
ERROR: Command errored out with exit status 1:
command: /home/pi/oprint/bin/python /home/pi/oprint/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpd5jgcror
cwd: /tmp/pip-install-p18tr1lh/cryptography
Complete output (191 lines):
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/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
copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-37/cryptography
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/x509
copying src/cryptography/x509/ocsp.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/name.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/oid.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/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
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
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/keywrap.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/poly1305.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/_asymmetric.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/_cipheralgorithm.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/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
creating 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/binding.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/backend.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/hashes.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/aead.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/rsa.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/poly1305.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/dsa.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/hmac.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/init.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/ciphers.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
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/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/algorithms.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/init.py -> 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
creating 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/pbkdf2.py -> 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/concatkdf.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/init.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
creating 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/pkcs7.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
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization
creating 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/utils.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/ed448.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/ed25519.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/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/init.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
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/pkcs7.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-rlk1438r/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-4.19.97-v7l+-armv7l-with-debian-10.3
    pip: n/a
    setuptools: 65.6.3
    setuptools_rust: 1.5.2
    rustc: n/a
    =============================DEBUG ASSISTANCE=============================
    error: can't find Rust compiler
    If 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 pip
    and 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 cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
Looks like the plugin was already installed. Forcing a reinstall.
/home/pi/oprint/bin/python -m pip --disable-pip-version-check install file:///tmp/tmpfdh6c1n6/release.zip --no-cache-dir --ignore-installed --force-reinstall --no-deps
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing /tmp/tmpfdh6c1n6/release.zip
Building wheels for collected packages: OctoPrint-OneDriveFileSync
Building wheel for OctoPrint-OneDriveFileSync (setup.py): started
Building wheel for OctoPrint-OneDriveFileSync (setup.py): finished with status 'done'
Created wheel for OctoPrint-OneDriveFileSync: filename=OctoPrint_OneDriveFileSync-1.0.4-py2.py3-none-any.whl size=236299 sha256=e9e2bb600668d0b4eca17d631d5c273b1a85bbb099d8ac101c146cf46b5b00e7
Stored in directory: /tmp/pip-ephem-wheel-cache-9k880wyu/wheels/42/6c/a6/18957949dd11427b9eb5e77326f5a8a1a8f13cecc80ee6e11c
Successfully built OctoPrint-OneDriveFileSync
Installing collected packages: OctoPrint-OneDriveFileSync
Successfully installed OctoPrint-OneDriveFileSync-1.0.4
Done!

@lpvezina
Copy link

I'm getting similar issue trying to install the plugin

@cp2004
Copy link
Owner

cp2004 commented Jan 12, 2023

I have pinned cryptography to a version that has prebuilt binaries so hopefully you don't need to have a rust compiler. I've just published a new version of the plugin (1.0.5). Please try reinstalling and see if the issue is fixed.

@cp2004 cp2004 added solved Solved, but not yet released. confirmed bug Bug reproduced and needs to be fixed labels Jan 12, 2023
@cp2004 cp2004 closed this as completed Jan 19, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
confirmed bug Bug reproduced and needs to be fixed solved Solved, but not yet released.
Projects
None yet
Development

No branches or pull requests

3 participants