No module named 'jupyter-dash'
See original GitHub issueI encountered this problem when I was trying to run from jupyter_dash import JupyterDash
in both jupyter notebook and jupyter lab.
OS: Windows 10 python version: 3.8.13 Installed packages:
Package Version
ansi2html 0.0.0 anyio 3.6.1 appnope 0.1.3 argon2-cffi 21.3.0 argon2-cffi-bindings 21.2.0 asttokens 2.0.5 async-generator 1.10 attrs 21.4.0 Babel 2.10.1 backcall 0.2.0 backports.functools-lru-cache 1.6.4 beautifulsoup4 4.11.1 bleach 5.0.0 Bottleneck 1.3.4 Brotli 1.0.9 brotlipy 0.7.0 certifi 2022.5.18.1 cffi 1.15.0 chardet 4.0.0 charset-normalizer 2.0.12 click 8.1.3 colorama 0.4.4 cryptography 37.0.1 dash 2.4.1 dash-bootstrap-components 1.1.0 dash-core-components 2.0.0 dash-html-components 2.0.0 dash-renderer 1.9.1 dash-table 5.0.0 debugpy 1.6.0 decorator 5.1.1 defusedxml 0.7.1 deprecation 2.1.0 entrypoints 0.4 executing 0.8.3 fastjsonschema 2.15.3 Flask 2.1.2 Flask-Compress 0.0.0 flit_core 3.7.1 future 0.18.2 gunicorn 20.1.0 idna 3.3 importlib-metadata 4.11.4 importlib-resources 5.7.1 ipykernel 6.13.1 ipython 8.4.0 ipython-genutils 0.2.0 itsdangerous 2.1.2 jedi 0.18.1 Jinja2 3.1.2 joblib 1.1.0 json5 0.9.6 jsonschema 4.6.0 jupyter-client 7.3.3 jupyter-core 4.10.0 jupyter-dash 0.4.2 jupyter-packaging 0.12.0 jupyter-server 1.17.0 jupyterlab 3.4.2 jupyterlab-pygments 0.2.2 jupyterlab-server 2.14.0 MarkupSafe 2.1.1 matplotlib-inline 0.1.3 mistune 0.8.4 mkl-fft 1.3.1 mkl-random 1.2.2 mkl-service 2.4.0 nbclassic 0.3.7 nbclient 0.6.4 nbconvert 6.5.0 nbformat 5.4.0 nest-asyncio 1.5.5 notebook 6.4.11 notebook-shim 0.1.0 numexpr 2.8.1 numpy 1.22.3 packaging 21.3 pandas 1.4.2 pandocfilters 1.5.0 parso 0.8.3 pexpect 4.8.0 pickleshare 0.7.5 pip 21.2.2 plotly 5.8.0 prometheus-client 0.14.1 prompt-toolkit 3.0.29 psutil 5.9.1 ptyprocess 0.7.0 pure-eval 0.2.2 pycparser 2.21 Pygments 2.12.0 pyOpenSSL 22.0.0 pyparsing 3.0.9 pyrsistent 0.18.1 PySocks 1.7.1 python-dateutil 2.8.2 pytz 2022.1 pywin32 303 pywinpty 2.0.2 pyzmq 23.1.0 requests 2.27.1 retrying 1.3.3 scikit-learn 1.0.2 scipy 1.7.3 Send2Trash 1.8.0 setuptools 61.2.0 six 1.16.0 sniffio 1.2.0 soupsieve 2.3.1 stack-data 0.2.0 tenacity 8.0.1 terminado 0.15.0 testpath 0.6.0 threadpoolctl 2.2.0 tinycss2 1.1.1 tomlkit 0.11.0 tornado 6.1 traitlets 5.2.2.post1 urllib3 1.26.9 wcwidth 0.2.5 webencodings 0.5.1 websocket-client 1.3.2 Werkzeug 2.1.2 wheel 0.37.1 win-inet-pton 1.1.0 wincertstore 0.2 zipp 3.8.0
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
I used the first method and found that my jupyter was running with the kernel of other env. I have solved the problem. Thank you for help me to troubleshoot the problem.
Hmph well now I can’t replicate the module not found I saw once yesterday. Seems to me either it really is not found, or it’s generating an error only in Jupyter.
To see if it’s the former, you could import another pip-installed package both inside and outside jupyter and see if the package’s
__file__
is the same in both cases.To see if it’s the latter, maybe wrap the import in a try/except?