Jump to content


common/Lib/sqlite3 how do I import ?


  • Please log in to reply
2 replies to this topic

cat174 #1 Posted 31 July 2019 - 12:04 PM

    Lance-corporal

  • Player
  • 9578 battles
  • 66
  • Member since:
    07-24-2012
common/Lib/sqlite3  how do I import  ?

RaJCeL #2 Posted 31 July 2019 - 01:08 PM

    Lieutenant

  • Player
  • 24686 battles
  • 1,707
  • Member since:
    10-14-2011

View Postcat174, on 31 July 2019 - 01:04 PM, said:

common/Lib/sqlite3  how do I import  ?

 

try this:

import sqlite3

 

//Edit:
But the module itself seems to be incomplete:

  File "scripts/common/Lib/sqlite3/__init__.py", line 24, in <module>
  File "scripts/common/Lib/sqlite3/dbapi2.py", line 27, in <module>
ImportError: No module named _sqlite3
 


Edited by RaJCeL, 31 July 2019 - 01:28 PM.


cat174 #3 Posted 31 July 2019 - 02:16 PM

    Lance-corporal

  • Player
  • 9578 battles
  • 66
  • Member since:
    07-24-2012

View PostRaJCeL, on 31 July 2019 - 03:08 PM, said:

 

try this:

import sqlite3

 

//Edit:
But the module itself seems to be incomplete:

  File "scripts/common/Lib/sqlite3/__init__.py", line 24, in <module>
  File "scripts/common/Lib/sqlite3/dbapi2.py", line 27, in <module>
ImportError: No module named _sqlite3
 

Google Translate:

do you have it sturdy ?






1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users