-
Notifications
You must be signed in to change notification settings - Fork 86
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
Issue installing via pip inside docker container for linux/arm64 #84
Comments
I did build it a few months ago so hope it can be done again, but I guess a work around could be to specify a |
It looks like this is related to the recent
|
Not sure if it helps, but I also noticed that if I changed the imports in the e.g. I changed this:
to this:
So I'm guessing something in the build process isn't setting a path to the modules or something correctly? |
Thanks @kposborne and @sixdimensionalarray for your swift replies 🙏 I was able to get the Dockerfile to build using the following as suggested by @kposborne RUN pip install cython==0.29.36 numpy
RUN pip install sparse_dot_topn==0.3.0 --no-cache-dir --no-build-isolation I had to also add RUN pip install sparse-dot-topn-for-blocks --no-cache-dir --no-build-isolation As Thanks again 🚀 |
@kykyi this is a workaround, but the issue still exists, right? Would you mind reopening the ticket? |
Outline
I am getting cython related errors when attempting to
pip install sparse_dot_topn
inside my dockerfile. I am unsure how the error is arising as I can see the files in thesparse_dot_topn
repo and they have not changed in 2 years! Thanks in advance.I am on an Apple M1 with macOS 13.2, unsure if that is relevant here though as we are inside the container.
Problem
Running the command:
I get the following error but only in
linux/arm64
:The text was updated successfully, but these errors were encountered: