Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

install problem-rustup version #37

Open
johnsmith2014w opened this issue Jan 1, 2023 · 2 comments
Open

install problem-rustup version #37

johnsmith2014w opened this issue Jan 1, 2023 · 2 comments

Comments

@johnsmith2014w
Copy link

When installing:
Building wheel for crypt (PEP 517) ...
error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /tmp/tmpxoa6ytoh_in_process.py build_wheel /tmp/tmpnxiyvpfg
cwd:/tmp/pip-install-mw_pcpjn/bcrypt_4486499d7596497aaddf587cd8a22dc6
Complete output (58 lines):
running bdist_wheel
running build
running build py
creating build
creating build/lib. linux-armv7l-cpython-39
creating build/lib. linux-armv7l-cpython-39/bcrypt
copying src/berypt/
-• UY
3 build/Lib. linux-army?1-epython-39/berypt
copying src/berypt/.
init_
-> build/lib. linux-armv7l-cpython-39/bcrypt
running egg_info
writing src/bcrypt.egg-info/PKG-INFO
writing dependency.
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
warning: no previously-included files matching
•* found under directory
"src/_bcrypt/target®
•github•
writing manifest file
"src/bcrypt.egg-info/SOURCES.txt
copying
src/bcrypt/_bcrypt.pyi

build/lib. linux-armv7l-cpython-39/bcrypt
copying src/crypt/py.typed -> build/lib.linux-armv7l-cpython-39/bcrypt
running build_ext
running build_rust
===DEbUG ASSISIANCE==
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. crypt requires
    rustc >= 1.56.0
    Python: 3.9.2
    platform: Linux-5.15.76-v71+-armv7l-with-glibc2.31
    pip: n/a
    setuptools:65.6.3
    setuptools_rust:
    -5-2
    rustcena
    ==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://ru.
    This package requires Rust >=1.56.0.
    ERROR: Failed building wheel for bcrypt
    Falled to. hullo PeTYP& whooLs for berypt which Use PEP 517 and cannot be installed directly

Therefore, I fresh a new system. I used Pip install --upgrade pip to the newest version. I used curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh to the newest version of rustup. Then I installed the cep, however the error still appears.

My setup is as follows:
Raspberry Pi 4 8gb model
256Gb sd card
fresh install 32 bit bullseye (this is the first thing I am doing on this fresh OS)
Offical raspberry pi dsi screen
Oak-d lite

Thank you very much.

@michaelhwn
Copy link
Contributor

Hi @johnsmith2014w, I will need to update the setup script to resolve any conflicts or failures caused by the latest updates to the OS or dependent software packages. I will let you know once I have updated the setup script.

@johnsmith2014w
Copy link
Author

@michaelhwn Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants