ankicommunity / ankicommunity-sync-server

A personal Anki sync server (so you can sync against your own server rather than AnkiWeb)
GNU Affero General Public License v3.0
873 stars 81 forks source link

Incompatibility with ARM-based OS #26

Open VikashKothary opened 4 years ago

VikashKothary commented 4 years ago

Due to the anki PyPi module. The Rust aspects have not been compiled for the ARM architecture. This limits the use of this tool with devices such as Raspberry Pis. This will change.

reivilibre commented 3 years ago

I tried to compile ankirspy (the Python interface to the Rust components of Anki, which don't have an arm64 package on PyPI) on my Pi 4 and got to the point of producing a wheel but I wasn't then able to install that wheel on the same machine, oddly:

(venv) anki@richie:~$ pip install ~/build/ankirspy-2.1.32-cp38-cp38-manylinux1_aarch64.whl 
ERROR: ankirspy-2.1.32-cp38-cp38-manylinux1_aarch64.whl is not a supported wheel on this platform.
VikashKothary commented 3 years ago

Hi @reivilibre, I would recommend you have a look at our https://github.com/ankicommunity/djankiserv project for your Raspberry Pi. It is a pure Python implementation of the Anki Server and should meet your needs until this issue is resolved.

EDIT: This is the official solution to this issue as such I'm going to close this issue.

reivilibre commented 3 years ago

Sorry, I don't believe this issue has been resolved; unless upstream now supports compilation for ARM without pulling teeth.. Did someone manage?

VikashKothary commented 3 years ago

@reivilibre You're right. It was my mistake.

I've reopened this issue: https://github.com/ankicommunity/anki-devops-services/issues/9. Users seemed to have gotten it working and we'll try and add a specific docker image for ARM-based operating systems available on DockerHub.

Would that help resolve this issue?

Myzel394 commented 11 months ago

@VikashKothary any news?