Install failure in Docker image using en_core_web_trf #10646
-
I'm using the following docker file to create a basic image to reproduce the issue I'm coming across.
This is the error that I get:
I'm not sure what I'm doing wrong to get this to work. Is there an expectation that both spacy and spacy-alignments should be always be built? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
It seems to work if I set the platform using |
Beta Was this translation helpful? Give feedback.
-
This is on an M1, I'm guessing? I think the concrete problem is related to this part of the error message:
I think you've installed rust but not added the compiler to your path. When you run this particular script, there is usually a message after installing that tells you to run a command like It's not critical that you have an extremely new version of rust here, so it might be easier to install rust instead with |
Beta Was this translation helpful? Give feedback.
It seems to work if I set the platform using
--platform=linux/amd64
. But I'm not sure what the implications of using that platform are.