dream2nix icon indicating copy to clipboard operation
dream2nix copied to clipboard

Can't import fsspec gcsfs

Open rupurt opened this issue 1 year ago • 0 comments

Howdy :wave:

I'm trying to use dream2nix on a python project and it's working great for the most part. However there's 1 dependency in my project that it can't seem to handle.

import gcsfs
ModuleNotFoundError: No module named 'gcsfs'

It's defined in my pyproject.toml as:

  "fsspec[gcs] >=2023.12.2",

I've also tried manually adding the dependency

  "gcsfs >=2023.12.2",

I do see it captured in my lock.json under "fetchPipMetadata" but it's never available for import. FWIW I also had this problem when trying to use it with pyinstaller and had to add a custom hook because it has hidden imports that pyinstaller couldn't automatically detect.

rupurt avatar Jun 03 '24 16:06 rupurt