# Unable to install 'eland\[pytorch\]' on Windows

**URL:** <https://discuss.elastic.co/t/unable-to-install-eland-pytorch-on-windows/343315>\
**Category:** Elasticsearch\
**Created:** [September 19, 2023, 6:16am UTC](https://discuss.elastic.co/t/unable-to-install-eland-pytorch-on-windows/343315 "2023-09-19T06:16:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xynobob](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xynobob/32/105064_2.png) [@xynobob](https://discuss.elastic.co/u/xynobob)\
**Post date:** [September 19, 2023, 6:16am UTC](https://discuss.elastic.co/t/unable-to-install-eland-pytorch-on-windows/343315/1 "2023-09-19T06:16:19Z")

</div>

I would like to import custom ML models to Elasticsearch, thus am using Eland to do it. However, to import custom ML models, I am to use `eland_import_hub_model` command which requires me to install pytorch using _python -m pip 'install eland[pytorch]'_ . However I got an error saying- **ERROR: Invalid requirement: "'eland[pytorch]'"**

May i know what is causing this issue?

---

<div class="post-metadata">

**Author:** ![Priscilla\_Parodi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priscilla_parodi/32/43047_2.png) [@Priscilla\_Parodi](https://discuss.elastic.co/u/Priscilla_Parodi)\
**Post date:** [October 11, 2023, 7:09pm UTC](https://discuss.elastic.co/t/unable-to-install-eland-pytorch-on-windows/343315/2 "2023-10-11T19:09:31Z")

</div>

Hello @xynobob,

Did you install the `eland` package?

`python -m pip install eland`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 8, 2023, 7:09pm UTC](https://discuss.elastic.co/t/unable-to-install-eland-pytorch-on-windows/343315/3 "2023-11-08T19:09:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
