Python Forum
Unable to install dataprep on my python notebook
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to install dataprep on my python notebook
#1
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Custom Module not working in Jupyter Notebook with Pandas fid 0 2,008 Jul-04-2020, 11:05 AM
Last Post: fid
  to_numpy() works in jupyter notebook, but not in python script bluefrog 7 10,123 Jun-27-2019, 10:35 AM
Last Post: bluefrog
  I am unable to install NumPy in Python3.7.0 and I don't know why. kanika97_scs 4 7,983 Mar-21-2018, 08:37 PM
Last Post: metulburr
  pip unable to install because of missing ssl module metulburr 10 85,823 Jun-09-2017, 08:39 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020