How can I resolve this warning while installing specific versions of python
Output (minimal):
Installing Python-3.5.5...
python-build: use readline from homebrew
WARNING: The Python readline extension was not compiled. Missing the GNU readline lib?
Things I have tried:
libreadline-dev and it's alternative libedit-dev, as seen herereadline and xz as dictated in the above link also.sudo apt install libreadline-dev
This is specific for the readline. But if you're install PyEnv, you can refer to this link too.
There seems to be some mismatch between the readline brew installs and what pyenv expects. The readline from apt seems to do its job, so just uninstall readline from brew. NB. readline is a dependency for pyenv, but it seems it can be removed safely.
brew uninstall --ignore-dependencies readline
** The typo in the command has been fixed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With