'err': 'Please install gcsfs to access Google Storage'
when I :
from fsspec.registry import known_implementation
print(known_implementations["gcs"])
I get:
{'class': 'gcsfs.GCSFileSystem', 'err': 'Please install gcsfs to access Google Storage'}
However, I have already installed gcsfs and it's showing up in my pip freeze
import gcsfs
gcsfs.__ver__
'2021.10.0'
I have also used the library to move files successfully (thanks for this awesome library! btw)
:) That is intended behaviour. The known_implementations dict specifies that for the key "gcs", it should import gcsfs.GCSFileSystem and, if that fails, to give the shown error message. But nothing actually went wrong!
Perhaps you wanted one of
fsspec.filesystem("gcs")
fsspec.get_filesystem_class("gcs")
thanks again for the lightning fast response.
I got this while trying to have pytorch lightning use a gs bucket location. I'll check with them. there may be a bit of back and forth till we get to the bottom of this.