Skip to content
New issue

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

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

Already on GitHub? # to your account

is not a supported wheel on this platform. #2

Open
aminio101 opened this issue Jul 25, 2019 · 5 comments
Open

is not a supported wheel on this platform. #2

aminio101 opened this issue Jul 25, 2019 · 5 comments

Comments

@aminio101
Copy link

hi
i wanna install torch on raspberry pi3 b+ with ubuntu 64bit
when compile pytorch get this error

Building wheel torch-1.2.0a0+8fdbe1e -- Building version 1.2.0a0+8fdbe1e cmake --build . --target install --config Release -- -j 4 make: *** No rule to make target 'install'. Stop. Traceback (most recent call last): File "setup.py", line 748, in <module> build_deps() File "setup.py", line 321, in build_deps cmake=cmake) File "/home/ubuntu/pytorch/tools/build_pytorch_libs.py", line 64, in build_caffe2 cmake.build(my_env) File "/home/ubuntu/pytorch/tools/setup_helpers/cmake.py", line 323, in build self.run(build_args, my_env) File "/home/ubuntu/pytorch/tools/setup_helpers/cmake.py", line 82, in run check_call(command, cwd=self.build_dir, env=env) File "/usr/lib/python3.6/subprocess.py", line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '4']' returned non-zero exit status 2.

when run this command git submodule update --init --recursive haven't any output !!!??

and when we want to install with your *.whl file get this error
torch-1.1.0-cp37-cp37m-linux_aarch64.whl is not a supported wheel on this platform.

@nmilosev
Copy link
Owner

nmilosev commented Jul 27, 2019

Please send me the output of uname -a and also you can try to install the armv7l version, should also work on your device!

Let me know anyways.

@nmilosev
Copy link
Owner

Okay, so it seems your kernel is calling the architecture arm64 and not aarch64. So let's try the following, rename torch-1.1.0-cp37-cp37m-linux_aarch64.whl to torch-1.1.0-cp37-cp37m-linux_arm64.whl and try again. That should get you through the first check.

@aminio101
Copy link
Author

thank you
my problem form python version
update and solved

but run so slow

@marcusvlc
Copy link
Contributor

@aminio101 What version of python did you use to install? And which system?

@doryan-gonin
Copy link

@aminio101 What version of python did you use to install? And which system?

I have a similar issue to what @aminio101 was describing torch-1.1.0-cp37-cp37m-linux_aarch64.whl is not a supported wheel on this platform`
I'm 90% sure my problem is also caused by an incorrect Python version (I have Python 3.9.2 on my Pi 2 model B V1.1 instead of the 3.7 that is used for the wheel)
I tried downloading python 3.7 and setting it as main when python3 is called but I didn't suceed.
Do you perhaps have a working python 3.9 wheel or a way of making it work ?

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

No branches or pull requests

4 participants