Apologies if I'm doing something silly here. Trying to import some Python modules and getting the _sqlite3 error. The first hits from a web search suggest that sqlite-devel would need to have been installed on the server where Python distribution was compiled. Does this sound likely?
[ts01]:root:/root # pip3 list
Package Version
---------- -------
nltk 3.4.5
pip 20.0.2
setuptools 46.1.3
six 1.14.0
[ts01]:root:/root # python3
Python 3.8.0 (default, Oct 26 2019, 17:53:18) [C] on aix
Type "help", "copyright", "credits" or "license" for more information.
>>> import nltk
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/lib/python3.8/site-packages/nltk/__init__.py", line 150, in <module>
from nltk.translate import *
File "/opt/lib/python3.8/site-packages/nltk/translate/__init__.py", line 23, in <module>
from nltk.translate.meteor_score import meteor_score as meteor
File "/opt/lib/python3.8/site-packages/nltk/translate/meteor_score.py", line 10, in <module>
from nltk.stem.porter import PorterStemmer
File "/opt/lib/python3.8/site-packages/nltk/stem/__init__.py", line 29, in <module>
from nltk.stem.snowball import SnowballStemmer
File "/opt/lib/python3.8/site-packages/nltk/stem/snowball.py", line 32, in <module>
from nltk.corpus import stopwords
File "/opt/lib/python3.8/site-packages/nltk/corpus/__init__.py", line 66, in <module>
from nltk.corpus.reader import *
File "/opt/lib/python3.8/site-packages/nltk/corpus/reader/__init__.py", line 105, in <module>
from nltk.corpus.reader.panlex_lite import *
File "/opt/lib/python3.8/site-packages/nltk/corpus/reader/panlex_lite.py", line 15, in <module>
import sqlite3
File "/opt/lib/python3.8/sqlite3/__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "/opt/lib/python3.8/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'
>>>
[ts01]:root:/root # lslpp -L |grep python3
aixtools.python3.adt 3.8.0.0 C F python3 ADT files
aixtools.python3.man.en_US
3.8.0.0 C F python3 man pages
aixtools.python3.rte 3.8.0.0 C F python3 26-Oct-2019
[ts01]:root:/root # oslevel -s
7100-05-04-1914