Error loading dependencies while running Vizro dashboard

Hi there!

I tried different dash-vizro apps codes in my VC editor. Everytime, I get the same error in browser - “Error loading dependencies”

I’m using the same Anaconda virtual environment built for Dash app. Dash apps are working fine in this environment but vizro doesn’t.

I get below log in my terminal:
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET / HTTP/1.1” 200 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/accordion.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/card.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/button.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/checklist.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/collapse.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/dropdown.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/container.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/graph.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/layout.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/images.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/index.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/radio_item.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/scroll_bar.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/selectors.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/slider.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/table.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/tabs.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/toggle.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/token_names.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/types.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/typography.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/user_input.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/variables.css HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/js/actions/build_action_loop_callbacks.js HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/js/clientside_functions.js HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/js/models/dashboard.js HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/js/models/range_slider.js HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/js/models/slider.js HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /vizro/css/fonts/inter-variable-font.ttf HTTP/1.1” 304 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /_dash-dependencies HTTP/1.1” 200 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:00] “GET /_dash-layout HTTP/1.1” 200 -
INFO:werkzeug:127.0.0.1 - - [03/Mar/2024 12:56:01] “GET /_favicon.ico?v=2.16.0 HTTP/1.1” 200 -

Anyone please help.

Thanks!

Hey @Subesha, welcome to the forums. Maybe @antony.milne might help you out.

1 Like

Thanks for pointing this out @AIMPED!

@Subesha: this is not something I’ve heard of before, and there shouldn’t be anything stopping you from using the same conda environment that works for Dash. Please could you share the exact code that you’re using for the app? Also it would be great if you could run pip freeze and post the output here. In particular I wonder what Dash version you’re using?

I wonder if this is related to [BUG] dash_mantine_components can't be found in dash 2.16.0 · Issue #2778 · plotly/dash · GitHub which @li.nguyen posted this morning.

It seems like this is due to some problem with the recently released dash==2.16.0 so I think doing pip install dash<2.16 should fix it.

1 Like

Hi @antony.milne !

Thanks for figuring out the issue. dash==2.16.0 was the reason of error.

Now, my app is up and running.

Have a great day!

3 Likes

Hi @AIMPED ! Thanks and happy to be a part of the community.

1 Like

That’s great to hear, thank you for letting me know @Subesha. We’re working on figuring out a fix for this, but for the time being just sticking to dash<2.16 should work fine. Just shout if you have any more questions!

FYI this was fixed in the recent release Dash 2.16.1. So you can unpin your Dash version now and all should work well :tada:

2 Likes