CC3M 데이터셋을 다운로드 받는 도중 아래 파일을 실행시켰을 때,
python download_data.py
Failed to find libmagic. Check you installation.
라는 에러메시지를 받았다.
인터넷에서 검색했을 때, 아래와 같이 설치하면 작동할 것이라하여 시도해 봤지만 여전히 해결이 되지 않았고,
pip install python-magic-bin==0.4.14
좀 더 방법을 찾은 결과 아래의 명령어로 설치하니 해결되었다.
sudo apt-get install libmagic1
'개발' 카테고리의 다른 글
[LeetCode] 121. Best Time to Buy and Sell Stock (0) | 2023.02.07 |
---|---|
[LeetCode] 206. Reverse Linked List (0) | 2023.02.04 |
[LeetCode] 21. Merge Two Sorted Lists (0) | 2023.02.04 |
댓글