Asdf: throws warning when installing python3

Created on 13 Sep 2019  路  1Comment  路  Source: asdf-vm/asdf

Steps to reproduce

asdf install python 3.7.4

Expected behavior

How to avoid warning while installing python 3.7.4 on ubuntu 19.04

Actual behavior

Does it require a separate installation of following extensions?

WARNING: The Python bz2 extension was not compiled. Missing the bzip2 lib?
WARNING: The Python readline extension was not compiled. Missing the GNU readline lib?
WARNING: The Python sqlite3 extension was not compiled. Missing the SQLite3 lib?
Installed Python-3.7.4 to /home/tmp/.asdf/installs/python/3.7.4

Environment

OS:
Ubuntu 19.04

asdf version:
0.7.4

Most helpful comment

Hi,
This is not an issue with asdf and should be opened in the relevant plugin: asdf-python.
Either way, you are simply missing system libraries required to compile these Python extensions.
Run the following and retry to install. (taken from https://github.com/pyenv/pyenv/wiki#suggested-build-environment)

sudo apt-get update; sudo apt-get install --no-install-recommends make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev

>All comments

Hi,
This is not an issue with asdf and should be opened in the relevant plugin: asdf-python.
Either way, you are simply missing system libraries required to compile these Python extensions.
Run the following and retry to install. (taken from https://github.com/pyenv/pyenv/wiki#suggested-build-environment)

sudo apt-get update; sudo apt-get install --no-install-recommends make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Quintasan picture Quintasan  路  5Comments

pachun picture pachun  路  3Comments

rhiroyuki picture rhiroyuki  路  3Comments

peleteiro picture peleteiro  路  3Comments

ypid picture ypid  路  3Comments