Closed yang closed 3 years ago
From error message:
ModuleNotFoundError: No module named 'zlib'
you might be missing system dependencies like zlib (Package zlib1g-dev
on Ubuntu).
Make sure you have necessary build environment for python-build (which asdf-python uses): https://github.com/pyenv/pyenv/wiki#suggested-build-environment
You can also go through common issues wiki, which also includes list of recommended dependencies: https://github.com/pyenv/pyenv/wiki/Common-build-problems#prerequisites
Thank you!
Is there any way to install prebuilt binaries? (I'm new to asdf but this is possible with tools like nodeenv.) That would be ideal (easier and faster for most users).
On Mon, Apr 5, 2021 at 2:56 PM Michael Cho @.***> wrote:
From error message:
ModuleNotFoundError: No module named 'zlib'
you might be missing system dependencies like zlib (Package zlib1g-dev on Ubuntu).
Make sure you have necessary build environment for python-build: https://github.com/pyenv/pyenv/wiki#suggested-build-environment
You can also go through common issues wiki, which also includes list of recommended dependencies: https://github.com/pyenv/pyenv/wiki/Common-build-problems#prerequisites
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/danhper/asdf-python/issues/99#issuecomment-813673633, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAABXWJWR555QX6D6Q3OI2DTHIWZJANCNFSM42LFN5PQ .
Is there any way to install prebuilt binaries?
As far as I recall, I don't think so.
asdf-python
uses pyenv's python-build
which should compile the source code.
This might be due CPython only providing source code for Linux and maybe how C libraries are linked.
On the other hand, NodeJS provides binaries for all major OS (Windows/Linux/macOS): https://nodejs.org/en/download/ In this case, asdf-nodejs uses pre-built binaries.
Makes sense. Thanks again!
Hi, just trying to use this for the first time - please let me know if I'm missing something!
Here's the end of that log: