# ImportError: No module named 'dash'

**URL:** https://community.plotly.com/t/importerror-no-module-named-dash/1995
**Category:** 📊 Plotly Python
**Created:** [August 29, 2016, 6:55pm UTC](https://community.plotly.com/t/importerror-no-module-named-dash/1995 "2016-08-29T18:55:17Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Fxs7576](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@Fxs7576](https://community.plotly.com/u/Fxs7576)
#### Post date: [August 29, 2016, 6:55pm UTC](https://community.plotly.com/t/importerror-no-module-named-dash/1995/1 "2016-08-29T18:55:17Z")

</div>

I am trying to run a module named dash from the example on this [link](http://plotly-dash.herokuapp.com).

However, I keep receiving an error as shown:  
ImportError Traceback (most recent call last)  
 in ()  
1 import pandas.io.data as web  
2  
----\> 3 from dash.react import Dash  
4 from dash.components import (div, h2, label,  
5 PlotlyGraph, Dropdown)

```
ImportError: No module named 'dash'

```

What can I do to solve this problem? I am running on Jupyter and Mac OS X.

Thank you

---

<div class="post-metadata">

### Author: ![chelsea](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/chelsea/32/196_2.png) [@chelsea](https://community.plotly.com/u/chelsea)
#### Post date: [August 31, 2016, 5:08pm UTC](https://community.plotly.com/t/importerror-no-module-named-dash/1995/2 "2016-08-31T17:08:28Z")

</div>

Hi there,  
Did you follow the quickstart instructions at the link where you found the example: [http://plotly-dash.herokuapp.com/](http://plotly-dash.herokuapp.com/)  
Specifically, it seems like you may not have run `pip install dash.ly --upgrade` .

---

<div class="post-metadata">

### Author: ![Fxs7576](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@Fxs7576](https://community.plotly.com/u/Fxs7576)
#### Post date: [August 31, 2016, 6:42pm UTC](https://community.plotly.com/t/importerror-no-module-named-dash/1995/3 "2016-08-31T18:42:20Z")

</div>

Hi Chelsea, I have followed the instruction from that link, including `pip install dash.ly --upgrade` .  
I run on Python 3.5 if this helps.

---

<div class="post-metadata">

### Author: ![chelsea](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/chelsea/32/196_2.png) [@chelsea](https://community.plotly.com/u/chelsea)
#### Post date: [August 31, 2016, 7:03pm UTC](https://community.plotly.com/t/importerror-no-module-named-dash/1995/4 "2016-08-31T19:03:29Z")

</div>

Thanks for specifying, it will only work with python 2.x  
We likely won’t be updating that example in the near future, but I may have some other examples that could help you out depending on what you’re trying to accomplish:  
a) We’ve recently added some reactive features into our javascript library so you can add dropdowns and sliders (time series) to your graphs with Plotly: [https://plot.ly/python/dropdowns/](https://plot.ly/python/dropdowns/) // [https://plot.ly/python/range-slider/](https://plot.ly/python/range-slider/)  
b) This dash repo did have updated examples to work with python 3: [https://github.com/plotly/dash](https://github.com/plotly/dash) (though as noted in the README, we’re no longer supporting these examples, and are working to develop a slightly different dash product for the future)

---

<div class="post-metadata">

### Author: ![jharnadce](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jharnadce](https://community.plotly.com/u/jharnadce)
#### Post date: [September 28, 2017, 12:42am UTC](https://community.plotly.com/t/importerror-no-module-named-dash/1995/5 "2017-09-28T00:42:29Z")

</div>

Hi, I am running Python 3.6 on my Jupyter notebook. I tried running the example here:  
[https://plot.ly/dash/getting-started](https://plot.ly/dash/getting-started) and  
[https://github.com/plotly/dash-docs/blob/master/tutorial/examples/getting\_started.py](https://github.com/plotly/dash-docs/blob/master/tutorial/examples/getting_started.py)  
Have installed all the required libraries, however when I run the code through command line, I get the error:  
ImportError: No module named dash

Not sure what I am doing wrong, I am hoping that dash runs on Python 3.6. Need some example codes to get started

---

<div class="post-metadata">

### Author: ![jharnadce](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jharnadce](https://community.plotly.com/u/jharnadce)
#### Post date: [September 28, 2017, 3:06am UTC](https://community.plotly.com/t/importerror-no-module-named-dash/1995/6 "2017-09-28T03:06:15Z")

</div>

Was able to resolve this myself, sorry for the spam… thanks…

---

<div class="post-metadata">

### Author: ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://community.plotly.com/u/patrick)
#### Post date: [January 26, 2018, 10:21am UTC](https://community.plotly.com/t/importerror-no-module-named-dash/1995/7 "2018-01-26T10:21:30Z")

</div>

Hi, would you mind telling how you made it? I am experiencing the same problem and haven’t figured it out yet. Thanks

---

<div class="post-metadata">

### Author: ![GusG](https://avatars.discourse-cdn.com/v4/letter/g/7ba0ec/32.png) [@GusG](https://community.plotly.com/u/GusG)
#### Post date: [July 6, 2018, 1:34am UTC](https://community.plotly.com/t/importerror-no-module-named-dash/1995/8 "2018-07-06T01:34:10Z")

</div>

Another possible solution is that the python file can only be executed from the command prompt. When you attempt to execute the file inside an IDE, you will get that error.
