Skip to content

Commit

Permalink
add auto-import of gcsfs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrocklin committed Oct 13, 2017
1 parent bd565c3 commit 05b7bde
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dask/bytes/core.py
Expand Up @@ -483,6 +483,13 @@ def ensure_protocol(protocol):
" or\n"
" pip install s3fs")

elif protocol in ('gs', 'gcs'):
import_required('gcsfs',
"Need to install `gcsfs` library for Google Cloud Storage support\n"
" conda install gcsfs -c conda-forge\n"
" or\n"
" pip install gcsfs")

elif protocol == 'hdfs':
msg = ("Need to install `distributed` and `hdfs3` "
"for HDFS support\n"
Expand Down

0 comments on commit 05b7bde

Please sign in to comment.