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
Zip file is not a zip file #3
Comments
Looking at it, it seems file got corrupted somehow :( It's much smaller than others. I will rebuild soon for 1.2.0 and keep an eye on this. Thanks for reporting! |
Thank you for your efforts! |
Yes, but I see now that you are using the armv7 one on your RPi3? You should try the aarch64 one? |
I have started to go through your article on how to make my own .whl and I have had a lot of issues. I am using an AWS EC2 instance to run fedora. The AMI I am using is ami-0eed35e1f9a917b70. I start following the instructions and im able to run all of the installs, but it's when I get to the chroot I get confused. The I then typed If you could explain what I am doing wrong or a different way/recommendation to making the wheel, that would be great. |
You run them inside chroot so prompt should be bash-5.0#
Try
You should not build outside chroot, you have no dependencies there. To be able to build wheels you have to |
I am sadly not aware why there is no /dev/null. Probably something weird in AWS setup. If you have the time, please try running a Live Fedora installation and following the steps. Also, running a local VM could probably be better? Still, to think about it, you will use virtualization (with qemu) and I am unsure how nested VM's would work :( That is why it would probably be best to setup a dual-boot system and try it that way on bare hardware. Another user in another issue managed to install the armv7 whl on their RPI3, could it be your file got corrupted? There are some issues but the installation went fine. |
Yes, it does seem like my file was corrupted on install. I am sorry for the trouble this has caused. I am now having the same issue as in the other issue, no module named torch._C. I will check in on that issue now as well. I will continue trying to make wheels on my own machine now as well, doing something similar to what you suggested with dual booting. Thank you for all of the help. |
Glad you got through the first step. Here are my thoughts, even though your hardware is 64-bit, raspbian is 32-bit. If you check other issues, we have one user with Pi3 successfully running this, but on Ubuntu ARM 64-bit. (#2) So it could be that: a) you need aarch64 version for platform specific code Still, I am unsure why the armv7 version is not working... |
I am facing the same 'zip file is not a zip file' when trying to install pytorch on raspi pi 0. EDIT: |
Hi. I have been trying for a few weeks now to get pytorch on a raspberry pi and just stumbled across your article and github.
I have been trying to use your .whl files on my rpi. It is a rapsberry pi 3b+. I am running rasbian buster with python 3.7 installed.
I have run
pip3 install https://github.com/nmilosev/pytorch-arm-builds/blob/master/torch-1.1.0-cp37-cp37m-linux_armv7l.whl
, but it returns with an error saying raise BadZipFile("File is not a zip file")zipfile.BadZipFile: File is not a zip file. (I will attach a screenshot of the entire error).
I was wondering if I was doing something incorrect or maybe there is a different way to install.
Thanks
The text was updated successfully, but these errors were encountered: