# Optimised datashader install

**URL:** <https://discourse.holoviz.org/t/optimised-datashader-install/8560>\
**Category:** Datashader\
**Tags:** performance, installation\
**Created:** [February 6, 2025, 9:38am UTC](https://discourse.holoviz.org/t/optimised-datashader-install/8560 "2025-02-06T09:38:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theom](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/theom/32/4685_2.png) [@Theom](https://discourse.holoviz.org/u/Theom)\
**Post date:** [February 6, 2025, 9:38am UTC](https://discourse.holoviz.org/t/optimised-datashader-install/8560/1 "2025-02-06T09:38:35Z")

</div>

Hi,

In the docs, it is recommended to install datashader using conda to make sure the right libs are installed for best performance on the targeted platform.

I’d like to know more about this. Is it only OS-related, and if so in what way? I use locked conda environments created on one Linux distribution, installed within a container that’s potentially based on another (and deployed on a host thay may also differ from either but this may be irrelevant.)

Are there specific points to pay attention to in this situation? Everything works fine but if it can be improved in any way I’m interested.

Also, datashader is the main–if not only–reason why I use conda for my environment. I’d like to have more details on how to install it with pip while still making sure the install is optimised. I may create an issue on GitHub regarding this.

---

<div class="post-metadata">

**Author:** ![ahuang11](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ahuang11/32/4947_2.png) [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Post date:** [February 8, 2025, 12:26am UTC](https://discourse.holoviz.org/t/optimised-datashader-install/8560/2 "2025-02-08T00:26:58Z")

</div>

Datashader runs on numba and numpy AFAIK [https://github.com/holoviz/datashader/blob/c77a2e6eab8c7d75e28cec97c744aecbc6b549cc/pyproject.toml#L30-L43](https://github.com/holoviz/datashader/blob/c77a2e6eab8c7d75e28cec97c744aecbc6b549cc/pyproject.toml#L30-L43)

Thus, if you get those correct, Datashader should work well (if my understanding is correct)

---

<div class="post-metadata">

**Author:** ![Theom](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/theom/32/4685_2.png) [@Theom](https://discourse.holoviz.org/u/Theom)\
**Post date:** [February 10, 2025, 1:36pm UTC](https://discourse.holoviz.org/t/optimised-datashader-install/8560/3 "2025-02-10T13:36:32Z")

</div>

Ok, if that’s all there is to it, then it’s fairly straightforward.

Thank you!

---

<div class="post-metadata">

**Author:** ![ahuang11](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ahuang11/32/4947_2.png) [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Post date:** [February 10, 2025, 6:09pm UTC](https://discourse.holoviz.org/t/optimised-datashader-install/8560/4 "2025-02-10T18:09:48Z")

</div>

Please note this is my understanding only 🙂 I haven’t worked on the Datashader codebase. Perhaps you can throw this question on Discord as well.
