Error installing paramiko
/storage/emulated/0 $ pip install paramiko Collecting paramiko Obtaining dependency information for paramiko from https://files.pythonhosted.org/packages/15/f8/c7bd0ef12954a81a1d3cea60a13946bd9a49a0036a5927770c461eade7ae/paramiko-3.5.1-py3-none-any.whl.metadata Using cached paramiko-3.5.1-py3-none-any.whl.metadata (4.6 kB) Collecting bcrypt>=3.2 (from paramiko) Using cached bcrypt-4.2.1.tar.gz (24 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting cryptography>=3.3 (from paramiko) Using cached cryptography-44.0.1.tar.gz (710 kB) Installing build dependencies ... error error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [57 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.8.2.tar.gz (199 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' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Requirement already satisfied: cffi>=1.12 in /data/data/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.11/site-packages (1.16.0) Requirement already satisfied: setuptools!=74.0.0,!=74.1.0,!=74.1.1,!=74.1.2 in /data/data/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.11/site-packages (68.2.2) Requirement already satisfied: pycparser in /data/data/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.11/site-packages (from cffi>=1.12) (2.21) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error
× Building wheel for maturin (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-311
creating build/lib.linux-aarch64-cpython-311/maturin
copying maturin/__init__.py -> build/lib.linux-aarch64-cpython-311/maturin
copying maturin/__main__.py -> build/lib.linux-aarch64-cpython-311/maturin
running egg_info
writing maturin.egg-info/PKG-INFO
writing dependency_links to maturin.egg-info/dependency_links.txt
writing requirements to maturin.egg-info/requires.txt
writing top-level names to maturin.egg-info/top_level.txt
reading manifest file 'maturin.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.json' under directory 'src/python_interpreter'
writing manifest file 'maturin.egg-info/SOURCES.txt'
running build_ext
running build_rust
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.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for maturin
Failed to build maturin
ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. /storage/emulated/0 $
Anybody?
Try installing an older version of paramiko.
- Uninstall any partial installations to start clean:
pip uninstall paramiko cryptography bcrypt
- Install an older, compatible version of paramiko.
pip install paramiko==2.12.0