Error when running spacy download into docker on Apple M1 chip #10025
-
I'm in a MacBook Pro with M1 Pro chip, and I've built a Docker to install Tensorflow, spacy, etc. ` RUN apt-get update && apt-get -y upgrade RUN pip install TensorFlow==2.3.4 I've added platform tag (linux/x86_64) in line 1, to install correctly the TensorFlow and spacy packages. But, when run the spacy download command, occurs this error. `
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Does this work if you temporarily comment out the install steps for tensorflow and rasa? In the background, spacy tries to import tensorflow by default if it's installed, so if you only install spacy and then |
Beta Was this translation helpful? Give feedback.
Does this work if you temporarily comment out the install steps for tensorflow and rasa? In the background, spacy tries to import tensorflow by default if it's installed, so if you only install spacy and then
python -m spacy
runs, then it's probably just related to the tensorflow install.