Unable to import sqlite3 using Anaconda Python

前端 未结 5 1025
一整个雨季
一整个雨季 2020-11-30 08:16

I am trying to do the following in Python 3.7.1 on Windows

import sqlite3

but I get the following error message

Traceback (         


        
5条回答
  •  余生分开走
    2020-11-30 09:07

    I got this working on windows by downloading: the sqlite3 dll (find your system version)

    And putting into the folder: C:\Users\YOURUSER\Anaconda3\DLLs

    (Depending on how you installed Anaconda, this may have to be placed into the following folder: C:\ProgramData\Anaconda3\DLLs)

提交回复
热议问题