Oct-11-2020, 01:59 AM
Hi all,
I have encountered the following error messages when attempting to execute the following command on my notebook.
!pip install dataprep
---
#Exploratory data analysis reports helps with quick data analysis (https://github.com/sfu-db/dataprep#dataprep)
!pip install dataprep
from dataprep.eda import plot, plot_missing, plot_correlation
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/opt/conda/envs/Python36/lib/python3.6/site-packages/dask/dataframe/__init__.py in <module>
1 try:
----> 2 from .core import (
3 DataFrame,
/opt/conda/envs/Python36/lib/python3.6/site-packages/dask/dataframe/core.py in <module>
78
---> 79 pd.set_option("compute.use_numexpr", False)
80
~/.local/lib/python3.6/site-packages/pandas/_config/config.py in __call__(self, *args, **kwds)
~/.local/lib/python3.6/site-packages/pandas/_config/config.py in _set_option(*args, **kwargs)
~/.local/lib/python3.6/site-packages/pandas/core/config_init.py in use_numexpr_cb(key)
ImportError: cannot import name 'expressions'
The above exception was the direct cause of the following exception:
ImportError Traceback (most recent call last)
<ipython-input-1-a9748ab0ce43> in <module>
24 #Exploratory data analysis reports helps with quick data analysis (https://github.com/sfu-db/dataprep#dataprep)
25 get_ipython().system('pip install dataprep')
---> 26 from dataprep.eda import plot, plot_missing, plot_correlation
27
28 #Bokeh is an interactive visualization library for modern web browsers (https://docs.bokeh.org/en/latest/index.html#)
/opt/conda/envs/Python36/lib/python3.6/site-packages/dataprep/eda/__init__.py in <module>
6
7 from bokeh.io import output_file, output_notebook
----> 8 from .distribution import compute, plot, render
9 from .correlation import compute_correlation, plot_correlation, render_correlation
10 from .missing import compute_missing, plot_missing, render_missing
/opt/conda/envs/Python36/lib/python3.6/site-packages/dataprep/eda/distribution/__init__.py in <module>
5 from typing import Optional, Tuple, Union, Dict
6
----> 7 import dask.dataframe as dd
8 import pandas as pd
9
/opt/conda/envs/Python36/lib/python3.6/site-packages/dask/dataframe/__init__.py in <module>
55 ' python -m pip install "dask[dataframe]" --upgrade # or python -m pip install'
56 )
---> 57 raise ImportError(msg) from e
ImportError: Dask dataframe requirements are not installed.
Please either conda or pip install as follows:
conda install dask # either conda install
python -m pip install "dask[dataframe]" --upgrade # or python -m pip install
---------------------------------------------------------------------------
And if I have tried doing the suggested install above <pip install "dask[dataframe]" --upgrade>, I would get the following errors instead ...
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/opt/conda/envs/Python36/lib/python3.6/site-packages/dask/dataframe/__init__.py in <module>
1 try:
----> 2 from .core import (
3 DataFrame,
/opt/conda/envs/Python36/lib/python3.6/site-packages/dask/dataframe/core.py in <module>
79
---> 80 pd.set_option("compute.use_numexpr", False)
81
~/.local/lib/python3.6/site-packages/pandas/_config/config.py in __call__(self, *args, **kwds)
~/.local/lib/python3.6/site-packages/pandas/_config/config.py in _set_option(*args, **kwargs)
~/.local/lib/python3.6/site-packages/pandas/core/config_init.py in use_numexpr_cb(key)
ImportError: cannot import name 'expressions'
The above exception was the direct cause of the following exception:
ImportError Traceback (most recent call last)
<ipython-input-2-0873b2b15eaa> in <module>
26 get_ipython().system('pip install "dask[dataframe]" --upgrade')
27 #!pip install dataprep
---> 28 from dataprep.eda import plot, plot_missing, plot_correlation
29
30 #Bokeh is an interactive visualization library for modern web browsers (https://docs.bokeh.org/en/latest/index.html#)
/opt/conda/envs/Python36/lib/python3.6/site-packages/dataprep/eda/__init__.py in <module>
5 from bokeh.io import output_notebook
6
----> 7 from .correlation import compute_correlation, plot_correlation, render_correlation
8 from .create_report import create_report
9 from .distribution import compute, plot, render
/opt/conda/envs/Python36/lib/python3.6/site-packages/dataprep/eda/correlation/__init__.py in <module>
5 from typing import Optional, Tuple, Union
6
----> 7 import dask.dataframe as dd
8 import pandas as pd
9
/opt/conda/envs/Python36/lib/python3.6/site-packages/dask/dataframe/__init__.py in <module>
55 ' python -m pip install "dask[dataframe]" --upgrade # or python -m pip install'
56 )
---> 57 raise ImportError(msg) from e
ImportError: Dask dataframe requirements are not installed.
Please either conda or pip install as follows:
conda install dask # either conda install
python -m pip install "dask[dataframe]" --upgrade # or python -m pip install
---------------------------------------------------------------------------
Any suggestions?
Thank you.
I have encountered the following error messages when attempting to execute the following command on my notebook.
!pip install dataprep
---
#Exploratory data analysis reports helps with quick data analysis (https://github.com/sfu-db/dataprep#dataprep)
!pip install dataprep
from dataprep.eda import plot, plot_missing, plot_correlation
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/opt/conda/envs/Python36/lib/python3.6/site-packages/dask/dataframe/__init__.py in <module>
1 try:
----> 2 from .core import (
3 DataFrame,
/opt/conda/envs/Python36/lib/python3.6/site-packages/dask/dataframe/core.py in <module>
78
---> 79 pd.set_option("compute.use_numexpr", False)
80
~/.local/lib/python3.6/site-packages/pandas/_config/config.py in __call__(self, *args, **kwds)
~/.local/lib/python3.6/site-packages/pandas/_config/config.py in _set_option(*args, **kwargs)
~/.local/lib/python3.6/site-packages/pandas/core/config_init.py in use_numexpr_cb(key)
ImportError: cannot import name 'expressions'
The above exception was the direct cause of the following exception:
ImportError Traceback (most recent call last)
<ipython-input-1-a9748ab0ce43> in <module>
24 #Exploratory data analysis reports helps with quick data analysis (https://github.com/sfu-db/dataprep#dataprep)
25 get_ipython().system('pip install dataprep')
---> 26 from dataprep.eda import plot, plot_missing, plot_correlation
27
28 #Bokeh is an interactive visualization library for modern web browsers (https://docs.bokeh.org/en/latest/index.html#)
/opt/conda/envs/Python36/lib/python3.6/site-packages/dataprep/eda/__init__.py in <module>
6
7 from bokeh.io import output_file, output_notebook
----> 8 from .distribution import compute, plot, render
9 from .correlation import compute_correlation, plot_correlation, render_correlation
10 from .missing import compute_missing, plot_missing, render_missing
/opt/conda/envs/Python36/lib/python3.6/site-packages/dataprep/eda/distribution/__init__.py in <module>
5 from typing import Optional, Tuple, Union, Dict
6
----> 7 import dask.dataframe as dd
8 import pandas as pd
9
/opt/conda/envs/Python36/lib/python3.6/site-packages/dask/dataframe/__init__.py in <module>
55 ' python -m pip install "dask[dataframe]" --upgrade # or python -m pip install'
56 )
---> 57 raise ImportError(msg) from e
ImportError: Dask dataframe requirements are not installed.
Please either conda or pip install as follows:
conda install dask # either conda install
python -m pip install "dask[dataframe]" --upgrade # or python -m pip install
---------------------------------------------------------------------------
And if I have tried doing the suggested install above <pip install "dask[dataframe]" --upgrade>, I would get the following errors instead ...
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/opt/conda/envs/Python36/lib/python3.6/site-packages/dask/dataframe/__init__.py in <module>
1 try:
----> 2 from .core import (
3 DataFrame,
/opt/conda/envs/Python36/lib/python3.6/site-packages/dask/dataframe/core.py in <module>
79
---> 80 pd.set_option("compute.use_numexpr", False)
81
~/.local/lib/python3.6/site-packages/pandas/_config/config.py in __call__(self, *args, **kwds)
~/.local/lib/python3.6/site-packages/pandas/_config/config.py in _set_option(*args, **kwargs)
~/.local/lib/python3.6/site-packages/pandas/core/config_init.py in use_numexpr_cb(key)
ImportError: cannot import name 'expressions'
The above exception was the direct cause of the following exception:
ImportError Traceback (most recent call last)
<ipython-input-2-0873b2b15eaa> in <module>
26 get_ipython().system('pip install "dask[dataframe]" --upgrade')
27 #!pip install dataprep
---> 28 from dataprep.eda import plot, plot_missing, plot_correlation
29
30 #Bokeh is an interactive visualization library for modern web browsers (https://docs.bokeh.org/en/latest/index.html#)
/opt/conda/envs/Python36/lib/python3.6/site-packages/dataprep/eda/__init__.py in <module>
5 from bokeh.io import output_notebook
6
----> 7 from .correlation import compute_correlation, plot_correlation, render_correlation
8 from .create_report import create_report
9 from .distribution import compute, plot, render
/opt/conda/envs/Python36/lib/python3.6/site-packages/dataprep/eda/correlation/__init__.py in <module>
5 from typing import Optional, Tuple, Union
6
----> 7 import dask.dataframe as dd
8 import pandas as pd
9
/opt/conda/envs/Python36/lib/python3.6/site-packages/dask/dataframe/__init__.py in <module>
55 ' python -m pip install "dask[dataframe]" --upgrade # or python -m pip install'
56 )
---> 57 raise ImportError(msg) from e
ImportError: Dask dataframe requirements are not installed.
Please either conda or pip install as follows:
conda install dask # either conda install
python -m pip install "dask[dataframe]" --upgrade # or python -m pip install
---------------------------------------------------------------------------
Any suggestions?
Thank you.