# Install duckling without docker on Windows VM

**URL:** <https://forum.rasa.com/t/install-duckling-without-docker-on-windows-vm/43693>\
**Category:** Rasa Open Source\
**Created:** [May 18, 2021, 8:53am UTC](https://forum.rasa.com/t/install-duckling-without-docker-on-windows-vm/43693 "2021-05-18T08:53:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmendez48](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jmendez48](https://forum.rasa.com/u/jmendez48)\
**Post date:** [May 18, 2021, 8:53am UTC](https://forum.rasa.com/t/install-duckling-without-docker-on-windows-vm/43693/1 "2021-05-18T08:53:02Z")

</div>

HI , I want to use Duckling for date entity extraction. I cant install docker as my windows VM does not support the hardware requirements. I’m struggling with the installation. Can someone please help ?

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [May 19, 2021, 2:42pm UTC](https://forum.rasa.com/t/install-duckling-without-docker-on-windows-vm/43693/2 "2021-05-19T14:42:17Z")

</div>

hi @jmendez48 - do you have an error message you can share? What exactly is going wrong with the installation? (also might be worth checking the [duckling repo](https://github.com/facebook/duckling) in case someone else has had the same issue

---

<div class="post-metadata">

**Author:** ![jmendez48](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jmendez48](https://forum.rasa.com/u/jmendez48)\
**Post date:** [May 24, 2021, 8:12pm UTC](https://forum.rasa.com/t/install-duckling-without-docker-on-windows-vm/43693/3 "2021-05-24T20:12:22Z")

</div>

Hi @amn41 , Sorry for the late reply. When i run rasa train, I get the following: ComponentNotFoundException: Failed to load the component ‘ner\_duckling\_http’. Cannot find class ‘ner\_duckling\_http’ in global namespace. Please check that there is no typo in the class name and that you have imported the class into the global namespace. Either your pipeline configuration contains an error or the module you are trying to import is broken (e.g. the module is trying to import a package that is not installed). Traceback (most recent call last): File “e:\thesis\omp\_chatbot\rasa\_venv\lib\site-packages\rasa\nlu\registry.py”, line 121, in get\_component\_class return rasa.shared.utils.common.class\_from\_module\_path(component\_name) File “e:\thesis\omp\_chatbot\rasa\_venv\lib\site-packages\rasa\shared\utils\common.py”, line 33, in class\_from\_module\_path raise ImportError(f"Cannot retrieve class from path {module\_path}.") ImportError: Cannot retrieve class from path ner\_duckling\_http.

---

<div class="post-metadata">

**Author:** ![jmendez48](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jmendez48](https://forum.rasa.com/u/jmendez48)\
**Post date:** [May 24, 2021, 8:17pm UTC](https://forum.rasa.com/t/install-duckling-without-docker-on-windows-vm/43693/4 "2021-05-24T20:17:36Z")

</div>

I managed to install duckling, when i start the the example i get: PS E:\Thesis\Software\Installation\duckling-0.2.0.0\> stack exec duckling-example-exe no port specified, defaulting to port 8000 Listening on [http://0.0.0.0:8000](http://0.0.0.0:8000)

My Rasa pipeline is as follows: pipeline:

- name: SpacyNLP model: “en\_core\_web\_md”

- name: SpacyTokenizer

- name: SpacyEntityExtractor

- name: “ner\_duckling\_http” url: “[http://localhost:8000](http://localhost:8000)” dimensions: [“time”, “number”] locale: “en\_GB” timezone: “Europe/Brussels”

- name: SpacyFeaturizer pooling: mean

- name: RegexFeaturizer

- name: LexicalSyntacticFeaturizer

- name: CountVectorsFeaturizer

- name: CountVectorsFeaturizer analyzer: char\_wb min\_ngram: 1 max\_ngram: 4

- name: DIETClassifier epochs: 100

- name: EntitySynonymMapper

- name: ResponseSelector epochs: 100

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [May 27, 2021, 1:51pm UTC](https://forum.rasa.com/t/install-duckling-without-docker-on-windows-vm/43693/5 "2021-05-27T13:51:10Z")

</div>

hi @jmendez48 - so you’re running duckling as a separate server process on your machine, which is great, and looks like you’re pointing to it (`localhost:8000`) in your config.yml. Are you still getting an error? what is the error?

---

<div class="post-metadata">

**Author:** ![jmendez48](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jmendez48](https://forum.rasa.com/u/jmendez48)\
**Post date:** [June 4, 2021, 12:36pm UTC](https://forum.rasa.com/t/install-duckling-without-docker-on-windows-vm/43693/6 "2021-06-04T12:36:33Z")

</div>

HI @amn41 , Sorry for the late reply. The error I get when I do rasa train: ComponentNotFoundException: Failed to load the component ‘ner\_duckling\_http’. Cannot find class ‘ner\_duckling\_http’ in global namespace. Please check that there is no typo in the class name and that you have imported the class into the global namespace. Either your pipeline configuration contains an error or the module you are trying to import is broken (e.g. the module is trying to import a package that is not installed). Traceback (most recent call last): File “e:\thesis\omp\_chatbot\rasa\_venv\lib\site-packages\rasa\nlu\registry.py”, line 121, in get\_component\_class return rasa.shared.utils.common.class\_from\_module\_path(component\_name) File “e:\thesis\omp\_chatbot\rasa\_venv\lib\site-packages\rasa\shared\utils\common.py”, line 33, in class\_from\_module\_path raise ImportError(f"Cannot retrieve class from path {module\_path}.") ImportError: Cannot retrieve class from path ner\_duckling\_http.

---

<div class="post-metadata">

**Author:** ![jmendez48](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jmendez48](https://forum.rasa.com/u/jmendez48)\
**Post date:** [June 4, 2021, 12:54pm UTC](https://forum.rasa.com/t/install-duckling-without-docker-on-windows-vm/43693/7 "2021-06-04T12:54:02Z")

</div>

Huge shoutout to @souvikg10I had named the duckling component wrongly on my pipeline. The final corrected pipeline is as follows.

language: en

pipeline:

- name: SpacyNLP

- name: SpacyTokenizer

- name: SpacyEntityExtractor

- name: DucklingEntityExtractor

- name: SpacyFeaturizer

- name: RegexFeaturizer

- name: LexicalSyntacticFeaturizer

- name: CountVectorsFeaturizer

- name: CountVectorsFeaturizer

- name: DIETClassifier

- name: EntitySynonymMapper

- name: ResponseSelector

---

<div class="post-metadata">

**Author:** ![ZackV12](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/zackv12/32/16738_2.png) [@ZackV12](https://forum.rasa.com/u/ZackV12)\
**Post date:** [July 9, 2021, 3:11pm UTC](https://forum.rasa.com/t/install-duckling-without-docker-on-windows-vm/43693/8 "2021-07-09T15:11:40Z")

</div>

> [@jmendez48](#):
>
> stack exec duckling-example-exe

hi i got this problem when i execute stack exec duckling-example-exe duckling-example-exe.EXE: /etc/zoneinfo/: getDirectoryContents:findFirstFile: does not exist (Le chemin daccSs sp,cifi, est introuvable.)@koaningPlease can someone help i installed stack and duckling

---

<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 12, 2021, 12:20pm UTC](https://forum.rasa.com/t/install-duckling-without-docker-on-windows-vm/43693/9 "2021-07-12T12:20:53Z")

</div>

Ah I don’t know if it’s easy to get Duckling working without docker. It’s based on Haskell and I don’t know how well it performs on Windows.

Another alternative is to host the Docker container on the internet. Just pass the url of the hosted container in your config.yml and it should work.
