본문 바로가기

이슈노트

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

1. https://www.sqlite.org/download.html  사이트 접속 후

 

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

 

 

2. 형광색으로 칠한부분의 파일을 받고 압축을 푼 뒤

 

 

 

3. 아나콘다 설치 경로 (C:\Users\유저명\Anaconda3 또는 C:\ProgramData\Anaconda3)에 들어가서

 

4. 아까 압축 풀었던 파일 중 sqlite3.dll 파일을 DLLs 폴더에 집어넣으면 됨.

만약 가상환경을 사용중이라면 가상환경 폴더 안의 DLLs 폴더에 집어넣어야 함. (~\Anaconda3\envs\가상환경명\DLLs)

 

 

* 참고

https://chunggaeguri.tistory.com/entry/Flask-ImportError-DLL-load-failed-while-importing-sqlite3

 

[ Flask ] ImportError: DLL load failed while importing _sqlite3

개발 환경 Python : Version 3.8 OS : Windows10( 64bit ) Visual Studio Code 에러 문구 ImportError: DLL load failed while importing _sqlite3: 지정된 모듈을 찾을 수 없습니다. 해결 방안 Anaconda3 폴더 내의 DDLs 폴더에 sqlite3.def

chunggaeguri.tistory.com