当前位置:网站首页>ImportError: DLL load failed while importing _ Sqlite3: the specified module could not be found

ImportError: DLL load failed while importing _ Sqlite3: the specified module could not be found

2022-06-11 03:39:00 sayWhat_ sayHello

Preface

I'm learning Django Encountered the above problem .

Need to explain the background python With anaconda Installed .

Review conclusion

This conclusion can be drawn by consulting the relevant materials :

python Built in this module , and anaconda No,

The solution is to name a sqlite3.dll To the DDLs Under the table of contents :

D:\anaconda\DLLs

These solutions are derived .

Solution

plan A:

In the catalog D:\anaconda\Library\bin I found this file Copy to the above directory , The program can start normally .

plan B:

Download a . website :https://www.sqlite.org/download.html Unzip and copy to the above directory , The program can start normally .

原网站

版权声明
本文为[sayWhat_ sayHello]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203020554154899.html