-
Notifications
You must be signed in to change notification settings - Fork 3
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
Building from source for RPi 4 Bullseye using Python 3.9 #6
Comments
I would be glad to help you. Which version do you want to build? |
That would be brilliant, thank you. I am looking to run diart and pyannote.audio on the RPi, so I need to install these versions: Let me know if I have misunderstood your query. |
I think I'll try to compile wheels again. |
Hi @Fire-Cube and @torchsmoke Please could I check how this is going? Are there any particular difficulties with the versions I listed? Am very much looking forward to getting this working. Kind regards Simon |
@swm1718 It seems that the newer PyTorch versions have problems with the gcc compiler. I can try again tomorrow to find a solution. |
Noted, thank you. It would be great if you could get it working. |
@swm1718 It seems that the Raspberry compiler has a bug. Which is why the PyTorch compilation aborts. I'm currently building a new gcc. |
That's interesting to know, thank you. Is that RPi compiler bug specific to these later versions of Python/PyTorch? It sounds as though you didn't encounter that bug with your previous wheels. |
@swm1718 The later PyTorch versions use things that are not possible with the pre-installed GCC version due to a bug. |
Hi @Fire-Cube - How is the gcc building going? |
@swm1718 The gcc build is finished. The compilation of PyTorch now does not work because of another error. I don't know yet what the problem is. Tomorrow I can try again. |
Hi @Fire-Cube - Did you manage to find out what the PyTorch compilation error was by any chance? |
Hi @Fire-Cube - Just checking in to see how things are going here. Did you have any luck resolving the PyTorch compilation error? |
No sadly not. |
Good afternoon
I have been trying to follow your very helpful instructions to build from source for a 64-bit RPi 4 Bullseye OS using Python 3.9 and aarch64. I keep getting this error on the item 6 command "python3 setup.py sdist bdist_wheel" at the bdist_wheel stage though:
"error: [Errno 2] No such file or directory: 'build/CMakeCache.txt'".
Do you know how to resolve this by any chance? Looking through the code suggests that file should have been made some point earlier in the process.
Any thoughts greatly appreciated as Torchaudio in particular is not working using simple pip install methods.
Kind regards
Simon
The text was updated successfully, but these errors were encountered: