My guess is that the python installation that you’re using isn’t the same as the
pip environment that you’re installing the packages into.
If you run:
then they should be pointing to the same environment. For example, for me, this returns:
$ which python
$ which pip
If those paths are different, then that might give you a clue as to why. For example, sometimes I’ve seen this issue where people are running
python3 app.py instead of
python app.py while still running
pip install dash.
python3 has a different location than
pip is referring to
Another way to ensure that
pip is installing things into the right
python would be to invoke
python -m pip install dash
(and similarly for the rest of the packages).
Let us know if this helps! This has come up a few times and so it’d be good to have a really clear debugging guide