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

RPI 5 install not supported #7

Open
ciaotesla opened this issue Feb 19, 2024 · 2 comments
Open

RPI 5 install not supported #7

ciaotesla opened this issue Feb 19, 2024 · 2 comments

Comments

@ciaotesla
Copy link

I tried to install torch-1.11.0 on RPI 5 but it failed:

pip install torch-1.11.0a0+gitbc2c6ed-cp39-cp39-linux_aarch64.whl --no-index
ERROR: torch-1.11.0a0+gitbc2c6ed-cp39-cp39-linux_aarch64.whl is not a supported wheel on this platform.

I followed the instruction for RPI 4 OS 64 bit

@Qengineering
Copy link
Owner

I think you are using Bookworm. It comes with Python 3.11, not the 3.9 version used by the wheels.
You can easily install pytorch on the RPi 5 with the following command:

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu

Do not forget to use a virtual environment.

@ciaotesla
Copy link
Author

yeah I did that and now everything seams to work. thx

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