[issue43992] Unable to get external dependencies for CPython on Ubuntu Linux 20.04.1

Erlend E. Aasland report at bugs.python.org
Sat May 8 14:21:01 EDT 2021


Erlend E. Aasland <erlend.aasland at innova.no> added the comment:

Here's a trick I often recommend:
Do as the CI; use the posix-deps-apt.sh script!

You'll find it in your CPython git repo:
$ cd cpython.git  # change working dir to the CPython git repo
$ cat .github/workflows/posix-deps-apt.sh 
#!/bin/sh
apt-get update

apt-get -yq install \
    build-essential \
    ccache \
    gdb \
    lcov \
    libbz2-dev \
    libffi-dev \
    libgdbm-dev \
    liblzma-dev \
    libncurses5-dev \
    libreadline6-dev \
    libsqlite3-dev \
    libssl-dev \
    lzma \
    lzma-dev \
    tk-dev \
    uuid-dev \
    xvfb \
    zlib1g-dev


Should work well on all Debian based Linux distros (that includes Ubuntu).

----------
nosy: +erlendaasland

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43992>
_______________________________________


More information about the Python-bugs-list mailing list