ImportError: cannot import name 'maybe_sync'
See original GitHub issueHey guys,
I have a python script using s3fs and I got an error when import this package. s3fs use fsspec and after a release 0.9.0 an error start to appear
Traceback (most recent call last):
File "/tmp/my_script.py", line 4, in <module>
import s3fs
File "/usr/local/lib/python3.6/site-packages/s3fs/__init__.py", line 1, in <module>
from .core import S3FileSystem, S3File
File "/usr/local/lib/python3.6/site-packages/s3fs/core.py", line 12, in <module>
from fsspec.asyn import AsyncFileSystem, sync, sync_wrapper, maybe_sync
ImportError: cannot import name 'maybe_sync'
To solve this issue I install an old version from fsspec
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
ImportError: cannot import name 'maybe_sync' · Issue #597
Hey guys, I have a python script using s3fs and I got an error when import this package. s3fs use fsspec and after...
Read more >apache spark - cannot import s3fs in pyspark - Stack Overflow
An error was encountered : cannot import name 'maybe_sync' from 'fsspec.asyn' (/usr/local/lib/python3.7/site-packages/fsspec/asyn.py) ...
Read more >Error importing pip package s3fs - Databricks Community
A job recently began failing with the following error when a python notebook imports the pip package s3fs. ImportError: cannot import name 'maybe_sync'...
Read more >Isaac tutorial 'jupyter_notebook' cannot import name ...
I have followed the documentation to install dependencies using the scrpit in engine/build/scrpits/install_dependencies.sh.
Read more >mbateman/github-issues · Datasets at Hugging Face
Describe the bug Cannot seem to import datasets when running ... sync, sync_wrapper, maybe_sync ImportError: cannot import name 'maybe_sync' from ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
for anyone running into the same issue these days - for me it was resolved by manually updating both s3fs and fsspec to >= 2021.10
No problem, it just for your knowledge and for help any person who have the same issue