question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError: No module named 'dash'

See original GitHub issue

Hi, I am receiving a module not found error when trying to use Dash, even though I have installed all modules per the instructions here. The only modification I made to the instructions was pip3 rather than pip.

When running python3 my_app.py, I receive:

File "my_app.py", line 1, in <module> import dash ModuleNotFoundError: No module named 'dash'

When I run pip3 install dash:

Requirement already satisfied: dash in /usr/local/lib/python3.6/site-packages (0.21.1)

I have checked for duplicate files/folders named dash or dash.py, but don’t see any. I have also tried uninstalling everything and re-installing, but I received the same errors. Any help would be much appreciated- I’ve been googling around for a while and haven’t found anything to solve this.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

15reactions
jtpiocommented, Jul 10, 2018

@spencerlawrence36 pip3 seems to refer to the system wide pip according to your logs.

Can you try to install dash using python3 -m pip install dash (to use pip for that particular version of Python)?

Otherwise, these commands can also help debugging:

which python3
which pip3
3reactions
nik-maheshwari19commented, Nov 8, 2020

It still doesn’t work on my setup. Can anyone please help?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: No module named 'dash' in Python
The Python "ModuleNotFoundError: No module named 'dash'" occurs when we forget to install the dash module before importing it or install it ...
Read more >
(Fixed) Python ModuleNotFoundError: No Module Named ' ...
How to Fix “ModuleNotFoundError: No module named 'dash'” in PyCharm · Open File > Settings > Project from the PyCharm menu. · Select...
Read more >
ImportError: No module named dash - python
When I would try to import dash in Spyder through anaconda, I got this same error. I was able to fix the issue...
Read more >
ImportError: No module named dash - Lets Fix it
The best solution of ImportError: No module named dash error is “pip install dash” . I mean you may use any package manager....
Read more >
Unable to run tutorial example app.py, ImportError: No ...
import dash ImportError: No module named dash. I am using Ubuntu 16.04 LTS, and anaconda. I have done a google search, and find...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found