I've been unsuccessfully trying to install Spacy onto my EMR cluster to run a Pyspark job. My Bootstrapping actions to EMR look something like this
pip install --upgrade pip
sudo conda install -c conda-forge spacy
sudo python3 -m spacy download en_core_web_sm
sudo python3 -m spacy download en
sudo python3 -m pip install -U spacy
sudo python3 -m pip install -U boto3
sudo python3 -m pip install -U pandas
sudo python3 -m spacy download en_core_web_sm
sudo python3 -m spacy download en
As you see above i've been trying to install it via pip and conda both but none seem to work. Suprisingly when I use a jupyter notebook and not try to submit my pyspark job as a step to EMR it works.