mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-14 06:13:53 -05:00
Added Alpine Linux section to Suggested build environment
14
Home.md
14
Home.md
@@ -92,6 +92,18 @@ sudo eopkg install git gcc make zlib-devel bzip2-devel readline-devel sqlite3-de
|
||||
brew install bzip2 libffi libxml2 libxmlsec1 openssl readline sqlite xz zlib
|
||||
```
|
||||
|
||||
* **Alpine Linux:**
|
||||
|
||||
```sh
|
||||
apk add --no-cache git bash build-base libffi-dev openssl-dev bzip2-dev zlib-dev readline-dev sqlite-dev
|
||||
```
|
||||
|
||||
Installation of Python 3.7 may fail due to Python 3.7.0 issue [#34555](https://bugs.python.org/issue34555). Work around is to install the [linux system headers package](https://pkgs.alpinelinux.org/packages?name=linux-headers&branch=edge):
|
||||
|
||||
```sh
|
||||
apk add linux-headers
|
||||
```
|
||||
|
||||
|
||||
See also [Common build problems](https://github.com/pyenv/pyenv/wiki/Common-build-problems) for further information.
|
||||
|
||||
@@ -175,4 +187,4 @@ Some of 3rd party tool like [PyInstaller](https://github.com/pyinstaller/pyinsta
|
||||
$ env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.5.0
|
||||
```
|
||||
|
||||
Since pyenv (precisely, python-build) will build CPython with configuring RPATH, you don't have to set `LD_LIBRARY_PATH` to specify library path on GNU/Linux.
|
||||
Since pyenv (precisely, python-build) will build CPython with configuring RPATH, you don't have to set `LD_LIBRARY_PATH` to specify library path on GNU/Linux.
|
||||
Reference in New Issue
Block a user