come risolvere: ERROR: Command errored out with exit status 1: command:…
- User
come risolvere: ERROR: Command errored out with exit status 1: command: /opt/odoo12/odoo12/bin/python3.6 /opt/odoo12/odoo12/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmppuuxd_n7 cwd: /tmp/pip-install-zrpe4b9u/bcrypt_b1f6df1850a14bd7b97d53a7f69586ae Complete output (58 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-3.6 creating build/lib.linux-armv7l-3.6/bcrypt copying src/bcrypt/about.py -> build/lib.linux-armv7l-3.6/bcrypt copying src/bcrypt/init.py -> build/lib.linux-armv7l-3.6/bcrypt running egg_info writing src/bcrypt.egg-info/PKG-INFO writing dependency_links to src/bcrypt.egg-info/dependency_links.txt writing requirements to src/bcrypt.egg-info/requires.txt writing top-level names to src/bcrypt.egg-info/top_level.txt reading manifest file 'src/bcrypt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'requirements.txt' warning: no previously-included files found matching 'release.py' warning: no previously-included files found matching 'mypy.ini' warning: no previously-included files matching '' found under directory '.github' warning: no previously-included files matching '' found under directory '.circleci' warning: no previously-included files found matching 'src/_bcrypt/target' warning: no previously-included files matching '*' found under directory 'src/_bcrypt/target' adding license file 'LICENSE' writing manifest file 'src/bcrypt.egg-info/SOURCES.txt' copying src/bcrypt/_bcrypt.pyi -> build/lib.linux-armv7l-3.6/bcrypt copying src/bcrypt/py.typed -> build/lib.linux-armv7l-3.6/bcrypt running build_ext running build_rust
=============================DEBUG ASSISTANCE============================= If you are seeing a compilation error please try the following steps to successfully install bcrypt: 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) Ensure you have a recent Rust toolchain installed. bcrypt requires rustc >= 1.56.0. Python: 3.6.3 platform: Linux-6.6.31+rpt-rpi-v7-armv7l-with-debian-12.1 pip: n/a setuptools: 59.6.0 setuptools_rust: 1.1.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 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 ) is the recommended way to download and update the Rust compiler toolchain.
- Assistant
L'errore specifico che stai affrontando riguarda il bisogno di un compilatore Rust per costruire i pacchetti Python
bcryptecryptography. Poiché questi pacchetti richiedono Rust per la costruzione, ci sono alcune azioni che puoi intraprendere per risolvere il problema.