On Sat, Feb 19, 2022 at 3:00 PM Christian Britz <cbr...@t-online.de> wrote:

> Hello Debian users,
>
> I would like to update the Python3 packages which I installed for my
> local user via pip.
>
> The command "pip list --user --outdated" gives the following error
> messages. This is on Debian stable. Any ideas?
>

Probably you should be using the pip3 command instead. It may not be
installed,
so I think this will install it:
 sudo apt-get install python3-pip

That's assuming that you want to stay inside the Debian universe. You could
install it
directly by pip and even upgrade python entirely using the pip
infrastructure if you wanted.

ERROR: Exception:
> Traceback (most recent call last):
>
>
>
>   File
> "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line
> 223, in _main
>
>
>     status = self.run(options, args)
>
>
>
>   File "/usr/lib/python3/dist-packages/pip/_internal/commands/list.py",
> line 175, in run
>
>
>     packages = self.get_outdated(packages, options)
>
>
>
>   File "/usr/lib/python3/dist-packages/pip/_internal/commands/list.py",
> line 184, in get_outdated
>
>
>     return [
>
>

> .....
>
>
>   File
>
> "/usr/share/python-wheels/html5lib-1.1-py2.py3-none-any.whl/html5lib/html5parser.py",
> line 44, in parse
>
>     tb = treebuilders.getTreeBuilder(treebuilder)
>
>
>
>   File
>
> "/usr/share/python-wheels/html5lib-1.1-py2.py3-none-any.whl/html5lib/treebuilders/__init__.py",
> line 85, in getTreeBuilder
>
>     return etree.getETreeModule(implementation, **kwargs).TreeBuilder
>
>
>
> AttributeError: module 'html5lib.treebuilders.etree' has no attribute
> 'getETreeModule'
>
> --
> http://www.cb-fraggle.de
>
>

Reply via email to