Open Lucas-Servi opened 2 years ago
Hi Lucas, I was able to install and import it successfully through a local jupyter-notebook kernel with:
%pip install dash_bio
import dash_bio
Are you still encountering this problem?
I hope this message finds you well. I'm a very beginner in programming. When I copy the example in dash plotly and sucessfully download related packages, the dash_bio module is still not found in my pycharm. However I found no solution so far. I'd much appreciate if someone can help!
here is the example code I try: https://dash.plotly.com/dash-bio/clustergram
And following is the download process:
(py311) yolololo@yoloMac WebApp % pip install dash-bio==1.0.1
Collecting dash-bio==1.0.1
Using cached dash_bio-1.0.1-py3-none-any.whl
Requirement already satisfied: dash>=1.6.1 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash-bio==1.0.1) (2.14.1)
Requirement already satisfied: pandas in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash-bio==1.0.1) (2.1.3)
Requirement already satisfied: scipy in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash-bio==1.0.1) (1.11.3)
Requirement already satisfied: scikit-learn>=0.20.1 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash-bio==1.0.1) (1.3.2)
Requirement already satisfied: colour in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash-bio==1.0.1) (0.1.5)
Requirement already satisfied: GEOparse>=1.1.0 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash-bio==1.0.1) (2.0.3)
Requirement already satisfied: jsonschema in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash-bio==1.0.1) (4.20.0)
Requirement already satisfied: parmed in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash-bio==1.0.1) (4.2.2)
Requirement already satisfied: periodictable in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash-bio==1.0.1) (1.6.1)
Requirement already satisfied: requests in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash-bio==1.0.1) (2.31.0)
Requirement already satisfied: biopython>=1.77 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash-bio==1.0.1) (1.81)
Requirement already satisfied: numpy in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from biopython>=1.77->dash-bio==1.0.1) (1.26.2)
Requirement already satisfied: Flask<3.1,>=1.0.4 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash>=1.6.1->dash-bio==1.0.1) (3.0.0)
Requirement already satisfied: Werkzeug<3.1 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash>=1.6.1->dash-bio==1.0.1) (3.0.1)
Requirement already satisfied: plotly>=5.0.0 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash>=1.6.1->dash-bio==1.0.1) (5.18.0)
Requirement already satisfied: dash-html-components==2.0.0 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash>=1.6.1->dash-bio==1.0.1) (2.0.0)
Requirement already satisfied: dash-core-components==2.0.0 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash>=1.6.1->dash-bio==1.0.1) (2.0.0)
Requirement already satisfied: dash-table==5.0.0 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash>=1.6.1->dash-bio==1.0.1) (5.0.0)
Requirement already satisfied: typing-extensions>=4.1.1 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash>=1.6.1->dash-bio==1.0.1) (4.8.0)
Requirement already satisfied: retrying in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash>=1.6.1->dash-bio==1.0.1) (1.3.3)
Requirement already satisfied: ansi2html in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash>=1.6.1->dash-bio==1.0.1) (1.8.0)
Requirement already satisfied: nest-asyncio in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash>=1.6.1->dash-bio==1.0.1) (1.5.8)
Requirement already satisfied: setuptools in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash>=1.6.1->dash-bio==1.0.1) (68.0.0)
Requirement already satisfied: importlib-metadata in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from dash>=1.6.1->dash-bio==1.0.1) (6.8.0)
Requirement already satisfied: tqdm>=4.31.1 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from GEOparse>=1.1.0->dash-bio==1.0.1) (4.66.1)
Requirement already satisfied: python-dateutil>=2.8.2 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from pandas->dash-bio==1.0.1) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from pandas->dash-bio==1.0.1) (2023.3.post1)
Requirement already satisfied: tzdata>=2022.1 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from pandas->dash-bio==1.0.1) (2023.3)
Requirement already satisfied: charset-normalizer<4,>=2 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from requests->dash-bio==1.0.1) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from requests->dash-bio==1.0.1) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from requests->dash-bio==1.0.1) (2.1.0)
Requirement already satisfied: certifi>=2017.4.17 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from requests->dash-bio==1.0.1) (2023.7.22)
Requirement already satisfied: joblib>=1.1.1 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from scikit-learn>=0.20.1->dash-bio==1.0.1) (1.3.2)
Requirement already satisfied: threadpoolctl>=2.0.0 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from scikit-learn>=0.20.1->dash-bio==1.0.1) (3.2.0)
Requirement already satisfied: attrs>=22.2.0 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from jsonschema->dash-bio==1.0.1) (23.1.0)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from jsonschema->dash-bio==1.0.1) (2023.11.1)
Requirement already satisfied: referencing>=0.28.4 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from jsonschema->dash-bio==1.0.1) (0.31.0)
Requirement already satisfied: rpds-py>=0.7.1 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from jsonschema->dash-bio==1.0.1) (0.13.0)
Requirement already satisfied: pyparsing in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from periodictable->dash-bio==1.0.1) (3.1.1)
Requirement already satisfied: Jinja2>=3.1.2 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from Flask<3.1,>=1.0.4->dash>=1.6.1->dash-bio==1.0.1) (3.1.2)
Requirement already satisfied: itsdangerous>=2.1.2 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from Flask<3.1,>=1.0.4->dash>=1.6.1->dash-bio==1.0.1) (2.1.2)
Requirement already satisfied: click>=8.1.3 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from Flask<3.1,>=1.0.4->dash>=1.6.1->dash-bio==1.0.1) (8.1.7)
Requirement already satisfied: blinker>=1.6.2 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from Flask<3.1,>=1.0.4->dash>=1.6.1->dash-bio==1.0.1) (1.7.0)
Requirement already satisfied: tenacity>=6.2.0 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from plotly>=5.0.0->dash>=1.6.1->dash-bio==1.0.1) (8.2.3)
Requirement already satisfied: packaging in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from plotly>=5.0.0->dash>=1.6.1->dash-bio==1.0.1) (23.2)
Requirement already satisfied: six>=1.5 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from python-dateutil>=2.8.2->pandas->dash-bio==1.0.1) (1.16.0)
Requirement already satisfied: MarkupSafe>=2.1.1 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from Werkzeug<3.1->dash>=1.6.1->dash-bio==1.0.1) (2.1.3)
Requirement already satisfied: zipp>=0.5 in /Users/yolololo/opt/anaconda3/envs/py311/lib/python3.11/site-packages (from importlib-metadata->dash>=1.6.1->dash-bio==1.0.1) (3.17.0)
Installing collected packages: dash-bio
Attempting uninstall: dash-bio
Found existing installation: dash-bio 1.0.2
Uninstalling dash-bio-1.0.2:
Successfully uninstalled dash-bio-1.0.2
Successfully installed dash-bio-1.0.1
And the error when i try to run the example code:
ModuleNotFoundError: No module named 'dash_bio'
Describe the bug Can't import this library on jupyter-notebook and jupyter-lab, not even in python by console.
To Reproduce
pip install -U dash_bio
import dash_bio
Python version: Python 3.9.5
Python environment (all installed packages in your current environment): Linux: Mint 20.3 Kernel: 5.15.0-46-generic
IPython 8.4.0 Notebook server is: 6.1.4 Lab server: 3.4.4 Pandas 1.4.3 Dash 2.6.1 Dash_bio 1.0.2 node v16.13.1
Additional context