Open shanedoolane opened 2 years ago
You need to install Python with some Feature flags. I deinstalled my python an reinstalled it with PyEnv. Before installing the python version I installed some other libraries which are then automaticly used by PyEnv for the install:
$ sudo apt update; sudo apt install build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev libsqlite3-mod-spatialite curl \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
$ PYTHON_CONFIGURE_OPTS="--enable-loadable-sqlite-extensions --enable-optimizations" pyenv install 3.11
Hope this helps
I have also been having the same issue appear.
I have tried @relativityhd solution without uninstalling python. I already use pyenv so I just set the local version to 3.11 using pyenv local 3.11
.
I am still not having any luck though, I was wondering if anyone has solved the issue in the same or a different way?
I have also been having the same issue appear.
I have tried @relativityhd solution without uninstalling python. I already use pyenv so I just set the local version to 3.11 using
pyenv local 3.11
.I am still not having any luck though, I was wondering if anyone has solved the issue in the same or a different way?
You need to reinstall the python version, so that the PyEnv building script can link the other dependencies to the Python installation. Without that my solution won't work, because the installed Python installation has not been linked to the dependencies.
Thank you for the response!
I have tried uninstalling, reinstalling and setting the version using
pyenv uninstall 3.11
PYTHON_CONFIGURE_OPTS="--enable-loadable-sqlite-extensions --enable-optimizations" pyenv install 3.11
pyenv local 3.11
It still doesn't seem to be working for me. Would you mind sharing the commands that you would expect to work, please? As I think I am misunderstanding something.
Should be the right commands. What exactly is your error message? What other installations are on your system? pyenv versions
Trying to run
but erroring out with sqllite3 problem. Anyone seen this issue? Running on pycharm installation