Éric Araujo <mer...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue43992>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to