-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Can't compile 3.11.x with pyenv: "undefined symbol: sqlite3_deserialize" #2625
Copy link
Copy link
Closed
Labels
third-partythe problem is in third-party softwarethe problem is in third-party software
Description
- Platform information: Ubuntu 20.04.5 LTS (WSL)
- OS architecture: x64
- pyenv version: 2.3.13
- Python version: trying to compile 3.11.2
- C Compiler information: gcc 9.4.0
When I do pyenv install 3.11.2 (or 3.11.1) it fails with the following message:
pyenv install 3.11.2
pyenv: /home/roland/.pyenv/versions/3.11.2 already exists
continue with installation? (y/N) y
Installing Python-3.11.2...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/roland/.pyenv/versions/3.11.2/lib/python3.11/sqlite3/__init__.py", line 57, in <module>
from sqlite3.dbapi2 import *
File "/home/roland/.pyenv/versions/3.11.2/lib/python3.11/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'
WARNING: The Python sqlite3 extension was not compiled. Missing the SQLite3 lib?
Installed Python-3.11.2 to /home/roland/.pyenv/versions/3.11.2
I have everything installed from the Common build problems wiki, like libsqlite3-dev.
output of env PYENV_DEBUG=1 pyenv install -v 3.11.2 2>&1 | tee trace.log: trace.log
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
third-partythe problem is in third-party softwarethe problem is in third-party software