-
Notifications
You must be signed in to change notification settings - Fork 186
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
Cannot Install MindMeld On arm64
Platforms Using pip
#422
Comments
Got the following to build in FROM python:3.7.13
RUN pip install numpy~=1.15
RUN pip install mindmeld spacy
# Add English spacy model or else mindmeld will try to download it itself and fail
RUN python -m spacy download en_core_web_sm --default-timeout=1000 Going to see if I can put together a full example that builds. |
Attempting to build a modified home_assistant container directly on an
Looking here it appears that MindMeld automatically installs a version of duckling from https://binaries.mindmeld.com. Does it only have an |
Looking at these mappings it appears that MindMeld only checks for |
Issue
I decided that I wanted to try to run MindMeld on a Raspberry Pi and quickly found out that attempting to run
pip install mindmeld
in anarm64
environment does not work. This appears to be because the dependencies in setup.py do not all have compiled arm64 wheels and whenpip
attempts to manually build them from source the builds fail (scikit-learn
in particular).This makes one unable to run MindMeld on devices like the M1 Mac and Raspberry Pi.
Reproduction
To easily reproduce this on any system (no matter the architecture), you can perform a
linux/arm64
build of a Docker container and attempt to install MindMeld into it and run into the issue. To do this:Dockerfile
with the following:docker buildx build --progress=plain --platform linux/arm64 .
to perform anarm64
build.The following occurs when
pip
attempts to installscikit-learn
as a dependency:Possible Solutions
pip
.Going to try to play with it myself and see if I can hack together a configuration that works but not 100% sure what the best option is.
The text was updated successfully, but these errors were encountered: