Unable to download a Spacy model in Rasa

I’m trying to initialize a Rasa project following these steps:

$ python3 -m venv --system-site-packages ./venv
$ source ./venv/bin/activate
$ pip3 install rasa[spacy]~=1.9.3
$ rasa --version
Rasa 1.9.3

Everything seems to be installed correctly.

Now I tried to load a Spacy model and got this error:

$ python3 -m spacy download en_core_web_md
(...)/venv/bin/python3: No module named spacy

Thanks for your help! Thierry

Can you try a $ pip3 list to see if it’s installed correctly?

I installed rasa[spacy] 1.9.3 and it installed spacy 2.1.9

Hello,

Thanks very much for your message! Your command makes me see that there is an issue at the level of python3 installation itself.

The problem was the python3 command refers to python 3.5 and pip3 command to python 3.6. Using python3.6 instead fixes the problem.

Thierry