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

Éric Araujo report at bugs.python.org
Fri May 7 16:14:30 EDT 2021


Éric Araujo <merwok at netwok.org> added the comment:

apt build-dep (or aptitude build-dep) is a command used to get build-time dependencies for the system package, which are not always the same as the upstream in-development version of Python.

As the error message told you, you need deb-src lines in your sources.list to have this work.  An example is here, it may not be up-to-date (refers to ubuntu bionic and python3.6) but hopefully you can adapt it: https://devguide.python.org/setup/#build-dependencies

I think more explanations should come from ubuntu documentation or forums, not Python docs; Python can’t document every facility from every OS.

----------
nosy: +eric.araujo

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


More information about the Python-bugs-list mailing list