취미와 밥줄사이
[ Flask ] ImportError: DLL load failed while importing _sqlite3 본문
Python/Flask
[ Flask ] ImportError: DLL load failed while importing _sqlite3
취미와 밥줄사이 2021. 6. 2. 00:33개발 환경
- Python : Version 3.8
- OS : Windows10( 64bit )
- Visual Studio Code
에러 문구
ImportError: DLL load failed while importing _sqlite3: 지정된 모듈을 찾을 수 없습니다.
해결 방안
Anaconda3 폴더 내의 DDLs 폴더에 sqlite3.def, sqlite3.dll 파일을 설치하니 문제가 해결되었다.
1. https://www.sqlite.org/download.html 로 이동하기
2. 파일 설치
3. 설치한 파일 압축해제
4. 압축해제 한 파일( sqlite3.def, sqlite3.dll )을 Anaconda3 내에 DLLs폴더 안으로 이동시킨다
실행 결과
REFERENCE
[ 설치 사이트 ]
https://www.sqlite.org/download.html
[ 참고 문헌 ]
https://www.programmersought.com/article/94245336485/
'Python > Flask' 카테고리의 다른 글
[ Flask ] ValueError : urls must start with a leading slash (0) | 2021.06.04 |
---|---|
[ Flask ] ImportError: cannot import name 'secure_filename' from 'werkzeug' (1) | 2021.06.04 |
[ Flask ] Error: Internal Server Error (0) | 2021.06.03 |
[ Flask ] sqlalchemy.exc.ArgumentError: (0) | 2021.06.01 |
[ Flask ] OSError: [ WinError 123 ] (0) | 2021.06.01 |