Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing s3fs in SageMaker Studio removes fsspec #902

Open
trevorpfiz opened this issue Oct 17, 2024 · 2 comments
Open

Installing s3fs in SageMaker Studio removes fsspec #902

trevorpfiz opened this issue Oct 17, 2024 · 2 comments

Comments

@trevorpfiz
Copy link

trevorpfiz commented Oct 17, 2024

When I install s3fs in the SageMaker Distribution 2.0 image, it breaks fsspec for other libraries that depend on it.

%pip install --disable-pip-version-check torch sagemaker transformers huggingface-hub esm s3fs
%pip uninstall tensorflow -y

Then I get:

Using cached fsspec-2024.9.0-py3-none-any.whl (179 kB)
Installing collected packages: fsspec
  Attempting uninstall: fsspec
    Found existing installation: fsspec None
error: uninstall-no-record-file

× Cannot uninstall fsspec None
╰─> The package's contents are unknown: no RECORD file was found for fsspec.

hint: You might be able to recover from this via: pip install --force-reinstall --no-deps fsspec==2023.6.0

image

What it looks like without s3fs:
image

@martindurant
Copy link
Member

Sorry, I have no idea how you end up with "version: None", and why pip refuses to remove it. Can you force install fsspec 2024.9.0 ?

@trevorpfiz
Copy link
Author

Sorry, I have no idea how you end up with "version: None", and why pip refuses to remove it. Can you force install fsspec 2024.9.0 ?

image

Right now I am just using s3fs=='0.4.2' with no issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants