Too many issues will kill our team's development velocity, drastically.
Make sure you have checked all steps below.
Prerequisite
Description
Recently provisioned a remote VPS on FreeBSD 13.1 and wanted to give pyenv a whirl. Seems I'm hit with readline issues. I attempted to install readline libs, but what I believe to be happening is that pyenv make cannot resolve readline. Here is what I performed:
- installed pyenv via bash script
- Ran:
pyenv install 3.11.1
Errors reported:
pyenv: /home/blogger/.pyenv/versions/3.11.1 already exists
continue with installation? (y/N) y
Downloading Python-3.11.1.tar.xz...
-> https://www.python.org/ftp/python/3.11.1/Python-3.11.1.tar.xz
Installing Python-3.11.1...
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'readline'
WARNING: The Python readline extension was not compiled. Missing the GNU readline lib?
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/blogger/.pyenv/versions/3.11.1/lib/python3.11/sqlite3/__init__.py", line 57, in <module>
from sqlite3.dbapi2 import *
File "/home/blogger/.pyenv/versions/3.11.1/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.1 to /home/blogger/.pyenv/versions/3.11.1
Packages installed:
# pkg info | grep -i read
readline-8.2.0 Library for editing command lines as they are typed
tclreadline-2.3.8 GNU readline for TCL
What I believe is happening is that GNU readline requirement is not being read properly as the output shows:
checking how to link readline libs... none
Debug log attached.
trace.log
Too many issues will kill our team's development velocity, drastically.
Make sure you have checked all steps below.
Prerequisite
pyenvand the defaultpython-buildplugin only. Please refrain from reporting issues of other plugins here.Description
FreeBSD 13.1-RELEASE-p3amd64pyenv 2.3.9Python 3.9.16 (installed via pkg)FreeBSD clang version 13.0.0env PYENV_DEBUG=1 <faulty command> 2>&1 | tee trace.logand attachtrace.log. E.g. if you have a problem with installing Python, runenv PYENV_DEBUG=1 pyenv install -v <version> 2>&1 | tee trace.log(note the-voption topyenv install).Recently provisioned a remote VPS on FreeBSD 13.1 and wanted to give pyenv a whirl. Seems I'm hit with readline issues. I attempted to install readline libs, but what I believe to be happening is that pyenv make cannot resolve readline. Here is what I performed:
pyenv install 3.11.1Errors reported:
Packages installed:
What I believe is happening is that GNU readline requirement is not being read properly as the output shows:
Debug log attached.
trace.log