ImportError: DLL load failed while importing _sqlite3: 지정된 모듈을 찾을 수 없습니다.

2023. 4. 19. 18:17·TIL/오류해결

많은 경고 문구가 떴는데 anaconda3 폴더 안에 DLL 파일에서 sqlite3이 없기 때문에 import 할 수 없어 ImportError: DLL load failed while importing _sqlite3 에러가 발생하였다.

 

sqlite3은 여기에서 설치할 수 있다.

 

SQLite Download Page

Templates (1) and (2) are used for source-code products. Template (1) is used for generic source-code products and templates (2) is used for source-code products that are generally only useful on unix-like platforms. Template (3) is used for precompiled bi

www.sqlite.org

각자 개발환경에 맞는 파일을 찾아서 설치해 주면 된다.

나는 64비트 윈도우를 사용하고 있으므로 두 번째 파일을 다운로드하였다.

파일 다운로드가 완료되면 anaconda3\DLLs에 압축을 풀어주면 된다.

압축 풀기가 완료되었으면 모든 과정은 끝났다.

 

에러가 발생한 코드를 다시 실행해 보면 문제없이 진행되는 것을 볼 수 있다.

나는 장고 서버 구동하는 과정에서 발생했던 에러이기 때문에 sqllite3 설치 후 정상적으로 서버에 접속할 수 있게 되었다.

반응형
저작자표시 (새창열림)
'TIL/오류해결' 카테고리의 다른 글
  • JVMNotFoundException: No JVM shared library file (jvm.dll) found. Try setting up the JAVA_HOME environment variable properly.
  • ChromeDriver 버전 오류 해결 및 webdriver-manager 사용하기
  • ImportError: cannot import name 'Imputer' from 'sklearn.preprocessing'
  • python | TypeError: 'str' object does not support item assignment
dduniverse
dduniverse
  • dduniverse
    dduniverse
    dduniverse
  • 전체
    오늘
    어제
    • 분류 전체보기 (242)
      • Algorithm (123)
        • 알고리즘 이론 (8)
        • 백준 (19)
        • 프로그래머스 (83)
        • 구름 알고리즘 먼데이 챌린지 (13)
      • 빅데이터분석기사 (10)
        • 통계 (4)
        • 실기 (6)
      • KT에이블스쿨 (26)
      • FrontEnd (11)
        • React (5)
        • 기타 (6)
      • BackEnd (18)
        • Django (15)
        • Spring (3)
      • DS & ML (11)
        • Machine Learning (9)
        • Kaggle (2)
      • TIL (43)
        • python (22)
        • javascript (3)
        • 오류해결 (10)
        • 기타 (7)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
    • 관리
    • 글쓰기
  • 링크

  • 인기 글

  • hELLO· Designed By정상우.v4.10.0
dduniverse
ImportError: DLL load failed while importing _sqlite3: 지정된 모듈을 찾을 수 없습니다.
상단으로

티스토리툴바