# OSError: \[E050\] Can't find model 'en'

**URL:** <https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483>\
**Category:** Getting Started with Rasa\
**Created:** [March 30, 2019, 8:07pm UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483 "2019-03-30T20:07:25Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![eadamopo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/eadamopo/32/2385_2.png) [@eadamopo](https://forum.rasa.com/u/eadamopo)\
**Post date:** [March 30, 2019, 8:07pm UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/1 "2019-03-30T20:07:25Z")

</div>

I have this problem when I run make cmdline OSError: [E050] Can’t find model ‘en’. It doesn’t seem to be a shortcut link, a Python package or a valid path to a data directory.

I have spacy v2.1.3 and en-core-web-sm and en-core-web-md 2.1.0 which are compatible

---

<div class="post-metadata">

**Author:** ![rasalearner](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/rasalearner/32/1001_2.png) [@rasalearner](https://forum.rasa.com/u/rasalearner)\
**Post date:** [March 31, 2019, 8:41am UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/2 "2019-03-31T08:41:17Z")

</div>

install spacy and then run following: python -m spacy download en

---

<div class="post-metadata">

**Author:** ![deepanshu](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@deepanshu](https://forum.rasa.com/u/deepanshu)\
**Post date:** [April 1, 2019, 5:05am UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/3 "2019-04-01T05:05:36Z")

</div>

after installing spacy with command python -m spacy download en, u need to link the spacy model with the following commands ;

import spacy

nlp=spacy.load(“en”)

---

<div class="post-metadata">

**Author:** ![eadamopo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/eadamopo/32/2385_2.png) [@eadamopo](https://forum.rasa.com/u/eadamopo)\
**Post date:** [April 2, 2019, 7:39am UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/4 "2019-04-02T07:39:42Z")

</div>

Thank you for the answers. But it doesn’t make the link because it says “You do not have the privelage to do this”…

---

<div class="post-metadata">

**Author:** ![deepanshu](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@deepanshu](https://forum.rasa.com/u/deepanshu)\
**Post date:** [April 2, 2019, 9:26am UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/5 "2019-04-02T09:26:48Z")

</div>

Do the loading and linking of the spacy model in admin mode of your command prompt.

---

<div class="post-metadata">

**Author:** ![eadamopo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/eadamopo/32/2385_2.png) [@eadamopo](https://forum.rasa.com/u/eadamopo)\
**Post date:** [April 3, 2019, 7:30pm UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/6 "2019-04-03T19:30:35Z")

</div>

Thank you very much! That worked!

---

<div class="post-metadata">

**Author:** ![visam](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@visam](https://forum.rasa.com/u/visam)\
**Post date:** [May 4, 2019, 2:59am UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/7 "2019-05-04T02:59:55Z")

</div>

> [@rasalearner](#):
>
> python -m spacy download en

I have the same issue, and I am running Jupyter Lab from a server. When I try this command - python -m spacy download en, it says no module found

---

<div class="post-metadata">

**Author:** ![Akshit](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akshit/32/1431_2.png) [@Akshit](https://forum.rasa.com/u/Akshit)\
**Post date:** [May 4, 2019, 4:52am UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/8 "2019-05-04T04:52:30Z")

</div>

which os is the server? check spacy installation on that. You’ll get plenty docs on that. Or let me know the version.

---

<div class="post-metadata">

**Author:** ![visam](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@visam](https://forum.rasa.com/u/visam)\
**Post date:** [May 4, 2019, 4:58am UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/9 "2019-05-04T04:58:02Z")

</div>

Hi Akshit, this is the server details: Linux 43fa2ec0c81a 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86\_64 x86\_64 x86\_64 GNU/Linux

I am trying to find a way to use "python -m " commands. Thanks for your quick response

---

<div class="post-metadata">

**Author:** ![Akshit](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akshit/32/1431_2.png) [@Akshit](https://forum.rasa.com/u/Akshit)\
**Post date:** [May 4, 2019, 4:59am UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/10 "2019-05-04T04:59:59Z")

</div>

So as your error says “No module found” that’s spacy correct? You have successfully setup the environment for python right?

---

<div class="post-metadata">

**Author:** ![visam](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@visam](https://forum.rasa.com/u/visam)\
**Post date:** [May 4, 2019, 5:03am UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/11 "2019-05-04T05:03:29Z")

</div>

Yes, when I try this in my terminal - “python -m spacy download en” I get the following error message /usr/bin/python: No module named spacy

But inside Jupyter, when I import spacy, it works fine.

---

<div class="post-metadata">

**Author:** ![Akshit](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akshit/32/1431_2.png) [@Akshit](https://forum.rasa.com/u/Akshit)\
**Post date:** [May 4, 2019, 5:11am UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/12 "2019-05-04T05:11:29Z")

</div>

Well You tried these right?

pip install rasa\_nlu[spacy]

python -m spacy download en\_core\_web\_sm

python -m spacy link en\_core\_web\_sm en

was the linking successful?

---

<div class="post-metadata">

**Author:** ![visam](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@visam](https://forum.rasa.com/u/visam)\
**Post date:** [May 4, 2019, 5:50am UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/13 "2019-05-04T05:50:52Z")

</div>

That is not successful either. ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/3/31bb3d36295b9cf4e3c9de628fafd0bf975b1e91.png)

---

<div class="post-metadata">

**Author:** ![visam](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@visam](https://forum.rasa.com/u/visam)\
**Post date:** [May 4, 2019, 5:55am UTC](https://forum.rasa.com/t/oserror-e050-cant-find-model-en/6483/14 "2019-05-04T05:55:36Z")

</div>

Had to use Python 3!!! I think it should solve the issue. Will keep posted
