read\u csv突然开始在bigdata环境中显示fsspec/core.py错误

eqqqjvef  于 2021-05-27  发布在  Hadoop
关注(0)|答案(0)|浏览(328)

在hadoop环境中使用python3.5.2。
突然 read_csv 停止工作时 read_excel 很好用。在另一个节点上尝试了相同的代码,效果很好,因此针对特定节点的特定问题。

ERROR: 
Traceback (most recent call last):
  File "<stdin>", line 5, in <module>
  File "/usr/local/lib/python3.5/dist-packages/pandas/core/generic.py", line 3020, in to_csv
    formatter.save()
  File "/usr/local/lib/python3.5/dist-packages/pandas/io/formats/csvs.py", line 157, in save
    compression=self.compression)
  File "/usr/local/lib/python3.5/dist-packages/pandas/io/common.py", line 344, in _get_handle
    from s3fs import S3File
  File "/usr/local/lib/python3.5/dist-packages/s3fs/__init__.py", line 1, in <module>
    from .core import S3FileSystem, S3File
  File "/usr/local/lib/python3.5/dist-packages/s3fs/core.py", line 8, in <module>
    from fsspec import AbstractFileSystem
  File "/usr/local/lib/python3.5/dist-packages/fsspec/__init__.py", line 10, in <module>
    from .mapping import FSMap, get_mapper
  File "/usr/local/lib/python3.5/dist-packages/fsspec/mapping.py", line 2, in <module>
    from .core import url_to_fs
  File "/usr/local/lib/python3.5/dist-packages/fsspec/core.py", line 314
    out[0] = (f"{out[0][1]}://", out[0][1], out[0][2])

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题