Failed to build wheel for bcrypt - can't install docker-compose #2881
-
Fresh install, latest version. I get to 'sudo pip3 -v install docker-compose' on the linked website for setting up docker on raspberry pi (https://dev.to/rohansawant/installing-docker-and-docker-compose-on-the-raspberry-pi-in-5-simple-steps-3mgl) and get this output: pi@raspberrypi:~ $ sudo pip3 install docker-compose
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:
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.56.0.ERROR: Failed building wheel for bcrypt I have tried upgrading pip. I have tried starting over. I have tried 64bit and 32bit images. I have tried installing docker-compose v2. Nothing seems to rectify. Anyone have any ideas? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
In case anyone else runs into this, I have no idea what I did wrong, but apparently it is something as I'm the only thread like this. I did the steps 4-5 times and had this result every time. I eventually installed docker-compose with apt using sudo apt install docker-compose Then it all worked fine. |
Beta Was this translation helpful? Give feedback.
-
For the ones who still want to install with pip to get the latest 1.x release...
|
Beta Was this translation helpful? Give feedback.
In case anyone else runs into this, I have no idea what I did wrong, but apparently it is something as I'm the only thread like this. I did the steps 4-5 times and had this result every time.
I eventually installed docker-compose with apt using
sudo apt install docker-compose
Then it all worked fine.