3

I'm trying to run a standalone python script via "Anaconda Prompt". I keep getting the error.

ImportError: No module named 'dask.dataframe';

I have installed pandas using

conda install dask

I have also installed dask via:

python -m pip install "dask[complete]"

But i still get this error. I am able to run the script in Jupyter. i have also checked i don't have a script called dask.py

Sql_Pete_Belfast
  • 570
  • 4
  • 23

1 Answers1

2

I suspect that you are installing Dask into one environment, but running Python from another. I recommend comparing the results of ...

$ which python

or

$ which conda

and check your notebook environment by

import sys
print(sys.executable)

I suspect that they are different paths and that you are confusing two differently installed Python setups on your computer.

MRocklin
  • 55,641
  • 23
  • 163
  • 235