# Dcc dropdown menu not working

**URL:** <https://community.plotly.com/t/dcc-dropdown-menu-not-working/25509>\
**Category:** Dash Python\
**Created:** [July 5, 2019, 4:06pm UTC](https://community.plotly.com/t/dcc-dropdown-menu-not-working/25509 "2019-07-05T16:06:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DataMonki](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@DataMonki](https://community.plotly.com/u/DataMonki)\
**Post date:** [July 5, 2019, 4:06pm UTC](https://community.plotly.com/t/dcc-dropdown-menu-not-working/25509/1 "2019-07-05T16:06:43Z")

</div>

So for some reason unknown to me, the dropdown menu shows up empty. I have no idea what is going on. I’ve tried in different browsers (chrome,firefox,Pale) According to the the documentation I should have an issue, but yet. Any advice would be appreciated.

I’m running dcc version 1.0.0.

Thanks in advance

## code below:

import dash\_core\_components as dcc  
dcc.Dropdown(  
options=[  
{‘label’: ‘New York City’, ‘value’: ‘NYC’},  
{‘label’: ‘Montréal’, ‘value’: ‘MTL’},  
{‘label’: ‘San Francisco’, ‘value’: ‘SF’}  
],  
value=‘MTL’  
)

if **name** ==‘ **main** ’:  
app.run\_server()

---

<div class="post-metadata">

**Author:** ![Damian](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@Damian](https://community.plotly.com/u/Damian)\
**Post date:** [July 5, 2019, 4:12pm UTC](https://community.plotly.com/t/dcc-dropdown-menu-not-working/25509/2 "2019-07-05T16:12:01Z")

</div>

This minimal example works fine for me, what do you see?

```python
import dash
import dash_core_components as dcc
import dash_html_components as html

app = dash.Dash( __name__ )

app.layout = html.Div(
    dcc.Dropdown(
        options=[
            {'label': 'New York City', 'value': 'NYC'},
            {'label': 'Montréal', 'value': 'MTL'},
            {'label': 'San Francisco', 'value': 'SF'}
        ],
        value='MTL'
    )
)

if __name__ == ' __main__':
    app.run_server()

```

---

<div class="post-metadata">

**Author:** ![DataMonki](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@DataMonki](https://community.plotly.com/u/DataMonki)\
**Post date:** [July 6, 2019, 12:55pm UTC](https://community.plotly.com/t/dcc-dropdown-menu-not-working/25509/3 "2019-07-06T12:55:04Z")

</div>

I see an empty dropbox

---

<div class="post-metadata">

**Author:** ![Damian](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@Damian](https://community.plotly.com/u/Damian)\
**Post date:** [July 8, 2019, 2:08pm UTC](https://community.plotly.com/t/dcc-dropdown-menu-not-working/25509/4 "2019-07-08T14:08:25Z")

</div>

> [@DataMonki](#):
>
> I see an empty dropbox

Something is wrong with your environment then.

1. What version of all of your Dash libraries are you using (dash, dash-renderer, dash-core-components, dash-html-components, plotly)? You can use `pip list`to figure it out

2. How are you starting Dash? Command line? iPython? etc…

3. With debug=True do you see any errors?

---

<div class="post-metadata">

**Author:** ![DataMonki](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@DataMonki](https://community.plotly.com/u/DataMonki)\
**Post date:** [July 8, 2019, 10:10pm UTC](https://community.plotly.com/t/dcc-dropdown-menu-not-working/25509/5 "2019-07-08T22:10:59Z")

</div>

1. i’m using the following Dash libraries:  
dash 1.0.0  
dash-core-components 1.0.0  
dash-daq 0.1.0  
dash-html-components 1.0.0  
dash-renderer 1.0.0  
dash-table 4.0.0

2. I’m starting dash in an anaconda environment using either jupyter notebook and jupyter labs.

3. when I run app.run\_server(debug=True) the pages never loads the page for any of my Dash projects (3 hours waiting so far) so I just run app.run\_server().

I resolved the issue by…well i made a new environment and deleted old one and it was fine. Still no idea why it happened.
