본문 바로가기

Error and Solve

[에러 해결] NotImplementedError: Loading a dataset cached in a LocalFileSystem is not supported. / datasets==2.16 버전으로 재설치

반응형

 

 

 

 

NotImplementedError: Loading a dataset cached in a LocalFileSystem is not supported.

 

 

NotImplementedError: Loading a dataset cached in a LocalFileSystem is not supported. 

 

package dataset 모듈의 load_dataset 함수에서 "json"을 이용해서 불러올 때 

 

위와 같이 type을 적용하는 변수가 적용이 안되는 문제가 발생했다 

 

 

 

 

 

 

 

 

 

해결 : datasets 버전에 맞게 재설치

 

해결하기 위해서는 datasets를 재설치하면 된다. 

 

 

pip uninstall datasets 
pip install datasets==2.16

pip uninstall datasets 
pip install datasets==2.16

 

 

위와 같은 과정을 순서대로 실행하면 된다.

 

 

 

 

 

 

 

 

원래 datasets 버전은 2.11.0이었다 

 

 

 

이를 최신 버전인 2.16 버전으로 재설치해주었을 때 

오류 없이 돌아가는 것을 알 수 있다.

 

 

 

 

 

 

 

 

 

 

끝.

 

 

 

 

 

 


 

Reference

 

https://stackoverflow.com/questions/77433096/notimplementederror-loading-a-dataset-cached-in-a-localfilesystem-is-not-suppor

 

NotImplementedError: Loading a dataset cached in a LocalFileSystem is not supported

I try to load a dataset using the datasets python module in my local Python Notebook. I am running a Python 3.10.13 kernel as I do for my virtual environment. I cannot load the datasets I am follow...

stackoverflow.com

 

 

 

 

반응형