snap-python icon indicating copy to clipboard operation
snap-python copied to clipboard

Does it support ARM architecture?

Open Arexh opened this issue 4 years ago • 2 comments

Is it possible to package the .whl file for arm platform? I have tried to compile this repo on m1 macbook's ubuntu docker image and jetson nano, but it doesn't work.

Arexh avatar Sep 07 '21 13:09 Arexh

Does this require one package, macOS with M1, or multiple packages: macOS with M1, Ubuntu on this macOS, and Jetson Nano?

roks avatar Sep 08 '21 03:09 roks

Currently I only need the installation package that can run on Jetson Nano. Can a package of arm architecture run on all arm devices with linux system?

I tried to run make whldist using the makefile under snap-python/swig, and a whl file snap_stanford-6.0.0-cp27-cp27mu-manylinux1_aarch64.whl was successfully generated. But when I use pip to install, an error log is shown:

~/snap-python/swig/dist$ python2 -m pip install snap_stanford-6.0.0-cp27-cp27mu-manylinux1_aarch64.whl 
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
ERROR: snap_stanford-6.0.0-cp27-cp27mu-manylinux1_aarch64.whl is not a supported wheel on this platform.
WARNING: You are using pip version 20.3.4; however, version 21.2.4 is available.
You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command.

The file name of the installation package indicates it is for aarch64, but why can’t it be installed on my system? By the way, my system is Linux 4.9.140-tegra aarch64.

Arexh avatar Sep 08 '21 04:09 Arexh