[mythtv] News from Python managed by OS-Distributions

Roland Ernst rcrernst at gmail.com
Wed Mar 1 20:42:15 UTC 2023


Starting with python 3.11-3, Debian disallows installing foreign python
modules.
See
https://salsa.debian.org/cpython-team/python3/-/blob/master/debian/README.venv
https://peps.python.org/pep-0668/
https://discuss.python.org/t/pep-668-marking-python-base-environments-as-externally-managed/10302/1
https://discuss.python.org/t/error-externally-managed-environment/24237
https://github.com/python/cpython/issues/102134
https://github.com/pypa/pip/issues/11776


The only way to run locally your own python packages is to use a python
virtual environment
See
https://packaging.python.org/en/latest/tutorials/installing-packages/#creating-virtual-environments

This has an impact of a local make/install of the MythTV python bindings!
The bindings may not be installed globally.

Roland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20230301/c3d3f39f/attachment.htm>


More information about the mythtv-dev mailing list