realpython / realpython/materials

Error while creating sample Dash application

Open
#245 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
5.2k
Forks
5.3k
Avg merge
4d 10h
Merged PRs (30d)
10

Description

Hi Team,
I have created the sample app.py script. When I run the script I am getting below error. I have executed all the previous commands correctly. Not sure what went wrong. Please help.

Traceback (most recent call last):
File "D:\avocado_analytics\venv\app.py", line 1, in
import dash
ModuleNotFoundError: No module named 'dash'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with app.py at line 1 and the traceback; check which environment runs it and whether that environment can import the sample application's Python dependencies. Done means the sample app starts without ModuleNotFoundError; the issue does not name a test or dependency-install step to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.