# Updated dash, getting an error

**URL:** <https://community.plotly.com/t/updated-dash-getting-an-error/19537>\
**Category:** Dash Python\
**Created:** [February 13, 2019, 4:25pm UTC](https://community.plotly.com/t/updated-dash-getting-an-error/19537 "2019-02-13T16:25:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Millow](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@Millow](https://community.plotly.com/u/Millow)\
**Post date:** [February 13, 2019, 4:25pm UTC](https://community.plotly.com/t/updated-dash-getting-an-error/19537/1 "2019-02-13T16:25:33Z")

</div>

Hello,  
So after updating dash-core-components & dash, I can’t start my app. Dash says it can’t find plotly-1.42.2.min.js. I know dash-core-components are now using 1.44.3, but how can I tell Dash to use the new one. Sorry if I’m not clear, I’m really not used to updating packages, first time I break a dependency.

Thank you

Edit: Managed to get it working by downgrading to 0.36 version of dash-core-components that uses 1.42.2. Still don’t know why the new one does not work.

---

<div class="post-metadata">

**Author:** ![chriddyp](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/chriddyp/32/16855_2.png) [@chriddyp](https://community.plotly.com/u/chriddyp)\
**Post date:** [February 13, 2019, 5:03pm UTC](https://community.plotly.com/t/updated-dash-getting-an-error/19537/2 "2019-02-13T17:03:30Z")

</div>

Hm, that’s odd. Could you share a small, reproducable example?

---

<div class="post-metadata">

**Author:** ![Millow](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@Millow](https://community.plotly.com/u/Millow)\
**Post date:** [February 13, 2019, 5:23pm UTC](https://community.plotly.com/t/updated-dash-getting-an-error/19537/3 "2019-02-13T17:23:55Z")

</div>

Sure thing, thx for the reply, from the man itself 😀  
I’ve reupgraded to 0.43.1 for the test.

Here’s the error message I get:  
[2019-02-13 12:22:04,415] ERROR in app: Exception on /favicon.ico [GET]  
Traceback (most recent call last):  
File “C:\ProgramData\Anaconda3\lib\site-packages\flask\app.py”, line 1982, in wsgi\_app  
reraise(TypeError, new\_error, sys.exc\_info()[2])  
File “C:\ProgramData\Anaconda3\lib\site-packages\flask\app.py”, line 1607, in full\_dispatch\_request  
“”"Return a registered error handler for an exception in this order:  
File “C:\ProgramData\Anaconda3\lib\site-packages\flask\app.py”, line 1654, in try\_trigger\_before\_first\_request\_functions  
exception is not called and it shows up as regular exception in the  
File “C:\ProgramData\Anaconda3\lib\site-packages\dash\dash.py”, line 945, in \_setup\_server  
args = []  
File “C:\ProgramData\Anaconda3\lib\site-packages\dash\dash.py”, line 388, in \_generate\_scripts\_html  
for resource in resources:  
File “C:\ProgramData\Anaconda3\lib\site-packages\dash\dash.py”, line 336, in \_collect\_and\_register\_resources  
}  
File “C:\ProgramData\Anaconda3\lib\site-packages\dash\dash.py”, line 322, in \_relative\_url\_path  
def serve\_layout(self):  
FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable: ‘C:\ProgramData\Anaconda3\lib\site-packages\dash\_core\_components\plotly-1.42.2.min.js’  
127.0.0.1 - - [13/Feb/2019 12:22:04] “GET /favicon.ico HTTP/1.1” 500 -

**And as for the code, I used your first tutorial for the example:**

```
import dash
import dash_table
import pandas as pd

df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/solar.csv')

app = dash.Dash( __name__ )

app.layout = dash_table.DataTable(
    id='table',
    columns=[{"name": i, "id": i} for i in df.columns],
    data=df.to_dict("rows"),
)

if __name__ == ' __main__':
    app.run_server(debug=False)
```

---

<div class="post-metadata">

**Author:** ![Philippe](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/philippe/32/3521_2.png) [@Philippe](https://community.plotly.com/u/Philippe)\
**Post date:** [February 13, 2019, 5:42pm UTC](https://community.plotly.com/t/updated-dash-getting-an-error/19537/4 "2019-02-13T17:42:18Z")

</div>

Can you show us `pip freeze` or `conda list` if using conda ?

---

<div class="post-metadata">

**Author:** ![Millow](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@Millow](https://community.plotly.com/u/Millow)\
**Post date:** [February 13, 2019, 7:17pm UTC](https://community.plotly.com/t/updated-dash-getting-an-error/19537/5 "2019-02-13T19:17:47Z")

</div>

I have a boat load of packages in my root env, but here’s a list:

- List item  
dash-core-components 0.43.1  
dash 0.37.0  
dash-renderer 0.18.0  
dash-table 3.4.0  
dash-table-experiments 0.6.0  
flask 0.12  
plotly 3.6.1

Otherwise I can get the whole list and paste it, let me know, thank you

---

<div class="post-metadata">

**Author:** ![Philippe](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/philippe/32/3521_2.png) [@Philippe](https://community.plotly.com/u/Philippe)\
**Post date:** [February 13, 2019, 7:25pm UTC](https://community.plotly.com/t/updated-dash-getting-an-error/19537/6 "2019-02-13T19:25:18Z")

</div>

The version you listed all works, I do not get the error. I’d recommend starting with a fresh environment and installing only `dash==0.37.0`.

---

<div class="post-metadata">

**Author:** ![Millow](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@Millow](https://community.plotly.com/u/Millow)\
**Post date:** [February 13, 2019, 7:40pm UTC](https://community.plotly.com/t/updated-dash-getting-an-error/19537/7 "2019-02-13T19:40:55Z")

</div>

Roger that. That’s what I did and it works now, good old “start from scratch” solution, but it worked, thank you for the follow up.
