# Installation Spacy error

**URL:** <https://forum.rasa.com/t/installation-spacy-error/45382>\
**Category:** Rasa Open Source\
**Created:** [July 5, 2021, 8:20am UTC](https://forum.rasa.com/t/installation-spacy-error/45382 "2021-07-05T08:20:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://forum.rasa.com/u/Shan)\
**Post date:** [July 5, 2021, 8:20am UTC](https://forum.rasa.com/t/installation-spacy-error/45382/1 "2021-07-05T08:20:58Z")

</div>

I’m not able to install spacy.

pip3 install rasa[spacy]

after this command I was trying to install this command(python -m spacy download en\_core\_web\_md) but it throws me error

(rasacb) C:\Users\SHANVIJ\rasacb\> python -m spacy download en\_core\_web\_md Collecting en-core-web-md==3.0.0

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: self signed certificate in certificate chain (\_ssl.c:1108)’))’: /explosion/spacy-models/releas es/download/en\_core\_web\_md-3.0.0/en\_core\_web\_md-3.0.0-py3-none-any.whl

WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: self signed certificate in certificate chain (\_ssl.c:1108)’))’: /explosion/spacy-models/releas es/download/en\_core\_web\_md-3.0.0/en\_core\_web\_md-3.0.0-py3-none-any.whl

WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: self signed certificate in certificate chain (\_ssl.c:1108)’))’: /explosion/spacy-models/releas es/download/en\_core\_web\_md-3.0.0/en\_core\_web\_md-3.0.0-py3-none-any.whl

WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: self signed certificate in certificate chain (\_ssl.c:1108)’))’: /explosion/spacy-models/releas es/download/en\_core\_web\_md-3.0.0/en\_core\_web\_md-3.0.0-py3-none-any.whl

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: self signed certificate in certificate chain (\_ssl.c:1108)’))’: /explosion/spacy-models/releas es/download/en\_core\_web\_md-3.0.0/en\_core\_web\_md-3.0.0-py3-none-any.whl

ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘[github.com](http://github.com)’, port=443): Max retries exceeded with url: /explosion/spacymodels/releases/download/en\_core\_web\_md3.0.0/en\_core\_web\_md-3.0.0-py3-none-any.whl (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: self signed certificate in certificate chain (\_ssl.c:1108)’)))

---

<div class="post-metadata">

**Author:** ![koaning](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/koaning/32/6626_2.png) [@koaning](https://forum.rasa.com/u/koaning)\
**Post date:** [July 7, 2021, 12:32pm UTC](https://forum.rasa.com/t/installation-spacy-error/45382/2 "2021-07-07T12:32:10Z")

</div>

Sometimes GitHub suffers from a connection issue and then the spaCy models won’t download. Just to check, this issue persists?

---

<div class="post-metadata">

**Author:** ![Shan](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shan](https://forum.rasa.com/u/Shan)\
**Post date:** [July 7, 2021, 12:41pm UTC](https://forum.rasa.com/t/installation-spacy-error/45382/3 "2021-07-07T12:41:39Z")

</div>

Thanks for reply. My friend found a solution I followed his instruction and installed setup file in rasa environment.

I have created a bot thats asks user information (using forms) and stores in database. I want to extract name from the user. so Im using spacy entity extractor and added dimension [‘PERSON’]. I have some doubts in nlu and domain. should I add the entities PERSON for name in nlu and add the entities in domain.

version: “2.0”

nlu:

- intent: Names examples: |
  - My name is [shanthosh] (PERSON)
  - I am [Virat] (PERSON)
  - [vijay] (PERSON)

version: “2.0”

intents:

greet

goodbye

mobile\_number

Names: use\_entities:

```
- PERSON

```

entities:

PERSON

slots:

name:

type: text

influence\_conversation: false

forms:

user\_details\_form:

required\_slots: name:

```
- type: from_text
  entity: PERSON
```

---

<div class="post-metadata">

**Author:** ![koaning](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/koaning/32/6626_2.png) [@koaning](https://forum.rasa.com/u/koaning)\
**Post date:** [July 7, 2021, 12:46pm UTC](https://forum.rasa.com/t/installation-spacy-error/45382/4 "2021-07-07T12:46:22Z")

</div>

SpaCy models are pre-trained. We don’t fine-tune them on Rasa data. They merely predict as-is. Name detection, it deserves mentioning, [is a hard problem](https://www.youtube.com/watch?v=k4iC5YYvrQk&ab_channel=Rasa). You might, as an alternative, enjoy using name-lists instead. This approach is explained in more detail [here](https://blog.rasa.com/named-name-recognition/).
