Hola,

També pots provar d'instalar els moduls python amb pip3 en un virtualenv o 
contenidor docker (per no barrejar ni embrutar el teu sistema debian habitual), 
per veure si tens el mateix problema.

Amb la comanda aquesta (la faig de memoria aixi que potser li falti alguna 
opcio) pots executar el contenidor docker:

# docker run -ti python:3.9 /bin/bash

I després instales el modul python:

# pip install NOMDELMODUL

Salut
-- 

R. Sicart

28 juin 2021 10:38:45 Josep Lladonosa <[email protected]>:

> Hola, Xavier,
> 
> Potser t'ajuden:
> 
> https://github.com/ProtonVPN/linux-cli-community/issues/280
> 
> https://github.com/python-poetry/poetry/issues/3662
> 
> El dl., 28 de juny 2021, 10:04, Xavier De Yzaguirre i Maura 
> <[email protected]> va escriure:
>> Bon dia gent,
>> Utilitzo ProtonVPN i de fa uns mesos, em trobo amb un problema a l'activar 
>> la VPN, sembla que es un problema relacionat amb un mòdul Python de la 
>> versió 3.9, la gent de Proton m'han respost que el problema no es de 
>> l'aplicatiu sinó del mòdul. Us adjunto uns exemples del que em succeeix, no 
>> se com cal reportar-ho.
>> M'orienteu?
>> 
>> Text del Terminal quan crido protonvpn-cli (avui):
>> 
>> /*2021-06-27 21:19:39 xavier@PC006:~$ pvpn off*/
>> off
>> Attempting to disconnect from ProtonVPN.
>> Successfully disconnected from ProtonVPN.
>> Kill switch has been disabled.
>> Error initializing plugin EntryPoint(name='macOS', 
>> value='keyring.backends.macOS', group='keyring.backends').
>> Traceback (most recent call last):
>> File "/usr/local/lib/python3.9/dist-packages/keyring/backend.py", line 202, 
>> in _load_plugins
>> init_func = ep.load()
>> File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
>> module = import_module(match.group('module'))
>> File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
>> return _bootstrap._gcd_import(name[level:], package, level)
>> File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
>> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
>> File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
>> ModuleNotFoundError: No module named 'keyring.backends.macOS'
>> 
>> Netshield has been disabled.
>> */2021-06-28 09:31:39 xavier@PC006:~$/*
>> 
>> El text que vaig passar a mes a Proton tenia aquests resultats:
>> 
>>> */"2021-06-24 14:19:44 xavier@PC006:~$ pip3 list | grep keyring"/*/"
>>> "/Error initializing plugin EntryPoint(name='macOS', 
>>> value='keyring.backends.macOS', group='keyring.backends').
>>> Traceback (most recent call last):
>>> File "/usr/local/lib/python3.9/dist-packages/keyring/backend.py", line 202, 
>>> in _load_plugins
>>> init_func = ep.load()
>>> File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
>>> module = import_module(match.group('module'))
>>> File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
>>> return _bootstrap._gcd_import(name[level:], package, level)
>>> File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
>>> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
>>> File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
>>> ModuleNotFoundError: No module named 'keyring.backends.macOS'
>>> keyring              21.5.0
>>> keyrings.alt         4.0.2/""/
>>> 
>>> /""/*/"2021-06-24 14:20:00 xavier@PC006:~$ apt list | grep 
>>> python3-keyring"/*/"
>>> "//"
>>> "/WARNING: apt does not have a stable CLI interface. Use with caution in 
>>> scripts.
>>> 
>>> python3-keyring/testing,testing,testing,now 22.0.1-1 all [instal·lat, 
>>> automàtic]
>>> python3-keyrings.alt/testing,testing,testing,now 4.0.2-1 all [instal·lat]
>>> 2021-06-24 14:20:39 xavier@PC006:~$
>>> 
>> I si em miro quins mòduls python tinc instal·lats, son aquests:
>> 
>>>> /*2021-06-24 14:38:57 xavier@PC006:~$ *apt list python* --installed/
>>>> S'està llistant… Fet
>>>> python-apt-common/testing,testing,testing,now 2.2.0 all [instal·lat, 
>>>> automàtic]
>>>> python-genshi/now 0.7.3-1 amd64 [instal·lat, local]
>>>> python-is-python2/testing,testing,testing,now 2.7.18-9 all [instal·lat, 
>>>> automàtic]
>>>> python-jinja2-doc/testing,testing,testing,now 2.11.3-1 all [instal·lat]
>>>> python-lxml-doc/testing,testing,testing,now 4.6.3-1 all [instal·lat]
>>>> python-musicbrainzngs-doc/testing,testing,testing,now 0.7.1-2 all 
>>>> [instal·lat]
>>>> python-mutagen-doc/testing,testing,testing,now 1.45.1-2 all [instal·lat]
>>>> python-numpy-doc/testing,testing,testing,now 1:1.19.5-1 all [instal·lat]
>>>> python-pip-whl/testing,testing,testing,now 20.3.4-2 all [instal·lat, 
>>>> automàtic]
>>>> python-pkg-resources/testing,testing,testing,now 44.1.1-1 all [instal·lat, 
>>>> automàtic]
>>>> python-secretstorage-doc/testing,testing,testing,now 3.3.1-1 all 
>>>> [instal·lat]
>>>> python-setuptools/testing,testing,testing,now 44.1.1-1 all [instal·lat]
>>>> python-tinycss2-common/testing,testing,testing,now 1.0.2-1 all 
>>>> [instal·lat, automàtic]
>>>> python-tk/testing,testing,testing,now 2.7.18-1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python2-minimal/testing,testing,testing,now 2.7.18-2 amd64 [instal·lat, 
>>>> automàtic]
>>>> python2.7-minimal/testing,testing,testing,now 2.7.18-7 amd64 [instal·lat, 
>>>> automàtic]
>>>> python2.7/testing,testing,testing,now 2.7.18-7 amd64 [instal·lat]
>>>> python2/testing,testing,testing,now 2.7.18-2 amd64 [instal·lat, automàtic]
>>>> python3-apt/testing,testing,testing,now 2.2.0 amd64 [instal·lat, automàtic]
>>>> python3-avahi/testing,testing,testing,now 0.8-5 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-bcrypt/testing,testing,testing,now 3.1.7-4 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-bs4/testing,testing,testing,now 4.9.3-1 all [instal·lat, automàtic]
>>>> python3-bsddb3/testing,testing,testing,now 6.2.9-1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-cairo/testing,testing,testing,now 1.16.2-4+b2 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-certifi/testing,testing,testing,now 2020.6.20-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-cffi-backend/testing,testing,testing,now 1.14.5-1 amd64 
>>>> [instal·lat, automàtic]
>>>> python3-chardet/testing,testing,testing,now 4.0.0-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-cryptography/testing,testing,testing,now 3.3.2-1 amd64 
>>>> [instal·lat, automàtic]
>>>> python3-css-parser/testing,testing,testing,now 1.0.6-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-cssselect/testing,testing,testing,now 1.1.0+ds-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-cssutils/testing,testing,testing,now 1.0.2-3 all [instal·lat, 
>>>> automàtic]
>>>> python3-cups/testing,testing,testing,now 2.0.1-4+b1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-cupshelpers/testing,testing,testing,now 1.5.14-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-dateutil/testing,testing,testing,now 2.8.1-5 all [instal·lat, 
>>>> automàtic]
>>>> python3-dbus/testing,testing,testing,now 1.2.16-5 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-debconf/testing,testing,testing,now 1.5.75 all [instal·lat, 
>>>> automàtic]
>>>> python3-debian/testing,testing,testing,now 0.1.39 all [instal·lat, 
>>>> automàtic]
>>>> python3-debianbts/testing,testing,testing,now 3.1.0 all [instal·lat, 
>>>> automàtic]
>>>> python3-dev/testing,testing,testing,now 3.9.2-3 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-dialog/testing,testing,testing,now 3.5.1-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-distro-info/testing,testing,testing,now 1.0 all [instal·lat, 
>>>> automàtic]
>>>> python3-distro/testing,testing,testing,now 1.5.0-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-distutils/testing,testing,testing,now 3.9.2-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-dnspython/testing,testing,testing,now 2.0.0-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-doc/testing,testing,testing,now 3.9.2-3 all [instal·lat]
>>>> python3-dulwich/testing,testing,testing,now 0.20.15-1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-examples/testing,testing,testing,now 3.9.2-3 all [instal·lat]
>>>> python3-fastimport/testing,testing,testing,now 0.9.8-5 all [instal·lat, 
>>>> automàtic]
>>>> python3-feedparser/testing,testing,testing,now 5.2.1-3 all [instal·lat, 
>>>> automàtic]
>>>> python3-fsapfs/testing,testing,testing,now 20201107-1 amd64 [instal·lat]
>>>> python3-fuse/testing,testing,testing,now 2:1.0.2-1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-gdal/testing,testing,testing,now 3.2.2+dfsg-1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-gdbm/testing,testing,testing,now 3.9.2-1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-gi-cairo/testing,testing,testing,now 3.38.0-2 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-gi/testing,testing,testing,now 3.38.0-2 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-gnupg/testing,testing,testing,now 0.4.6-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-gpg/testing,testing,testing,now 1.14.0-1+b2 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-html5lib/testing,testing,testing,now 1.1-3 all [instal·lat, 
>>>> automàtic]
>>>> python3-httplib2/testing,testing,testing,now 0.18.1-3 all [instal·lat, 
>>>> automàtic]
>>>> python3-ibus-1.0/testing,testing,testing,now 1.5.23-2 all [instal·lat, 
>>>> automàtic]
>>>> python3-icu/testing,testing,testing,now 2.5-1+b2 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-idna/testing,testing,testing,now 2.10-1 all [instal·lat, automàtic]
>>>> python3-jeepney/testing,testing,testing,now 0.6.0-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-jinja2/testing,testing,testing,now 2.11.3-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-keyring/testing,testing,testing,now 22.0.1-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-keyrings.alt/testing,testing,testing,now 4.0.2-1 all [instal·lat]
>>>> python3-ldb/testing,testing,testing,now 2:2.2.0-3.1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-lib2to3/testing,testing,testing,now 3.9.2-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-lxml/testing,testing,testing,now 4.6.3-1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-markdown/testing,testing,testing,now 3.3.4-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-markupsafe/testing,testing,testing,now 1.1.1-1+b3 amd64 
>>>> [instal·lat, automàtic]
>>>> python3-mdx-math/testing,testing,testing,now 0.8-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-minimal/testing,testing,testing,now 3.9.2-3 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-musicbrainzngs/testing,testing,testing,now 0.7.1-2 all 
>>>> [instal·lat, automàtic]
>>>> python3-mutagen/testing,testing,testing,now 1.45.1-2 all [instal·lat, 
>>>> automàtic]
>>>> python3-numpy/testing,testing,testing,now 1:1.19.5-1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-olefile/testing,testing,testing,now 0.46-3 all [instal·lat, 
>>>> automàtic]
>>>> python3-openssl/testing,testing,testing,now 20.0.1-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-pampy/testing,testing,testing,now 1.8.4-2 all [instal·lat, 
>>>> automàtic]
>>>> python3-pexpect/testing,testing,testing,now 4.8.0-2 all [instal·lat, 
>>>> automàtic]
>>>> python3-pil/testing,testing,testing,now 8.1.2+dfsg-0.1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-pip/testing,testing,testing,now 20.3.4-2 all [instal·lat]
>>>> python3-pkg-resources/testing,testing,testing,now 52.0.0-3 all 
>>>> [instal·lat, automàtic]
>>>> python3-proton-client/desconegut,now 0.5.1-3 all [instal·lat, automàtic]
>>>> python3-protonvpn-nm-lib/desconegut,now 3.3.1-1 all [instal·lat, automàtic]
>>>> python3-psutil/testing,testing,testing,now 5.8.0-1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-ptyprocess/testing,testing,testing,now 0.7.0-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-pycryptodome/testing,testing,testing,now 3.9.7+dfsg1-1+b2 amd64 
>>>> [instal·lat, automàtic]
>>>> python3-pycurl/testing,testing,testing,now 7.43.0.6-5 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-pygments/testing,testing,testing,now 2.7.1+dfsg-2.1 all 
>>>> [instal·lat, automàtic]
>>>> python3-pyinotify/testing,testing,testing,now 0.9.6-1.3 all [instal·lat, 
>>>> automàtic]
>>>> python3-pylibacl/testing,testing,testing,now 0.6.0-1+b1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-pyqt5.sip/testing,testing,testing,now 12.8.1-1+b2 amd64 
>>>> [instal·lat, automàtic]
>>>> python3-pyqt5/testing,testing,testing,now 5.15.2+dfsg-3 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-pysimplesoap/testing,testing,testing,now 1.16.2-3 all [instal·lat, 
>>>> automàtic]
>>>> python3-pyxattr/testing,testing,testing,now 0.7.2-1+b1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-regex/testing,testing,testing,now 0.1.20201113-1 amd64 
>>>> [instal·lat, automàtic]
>>>> python3-renderpm/testing,testing,testing,now 3.5.59-1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-reportbug/testing,testing,testing,now 7.10.3 all [instal·lat]
>>>> python3-reportlab-accel/testing,testing,testing,now 3.5.59-1 amd64 
>>>> [instal·lat, automàtic]
>>>> python3-reportlab/testing,testing,testing,now 3.5.59-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-requests-toolbelt/testing,testing,testing,now 0.9.1-1 all 
>>>> [instal·lat, automàtic]
>>>> python3-requests/testing,testing,testing,now 2.25.1+dfsg-2 all 
>>>> [instal·lat, automàtic]
>>>> python3-samba/testing,testing,testing,now 2:4.13.5+dfsg-2 amd64 
>>>> [instal·lat, automàtic]
>>>> python3-scour/testing,testing,testing,now 0.38.2-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-secretstorage/testing,testing,testing,now 3.3.1-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-setproctitle/testing,testing,testing,now 1.2.1-1+b1 amd64 
>>>> [instal·lat, automàtic]
>>>> python3-setuptools/testing,testing,testing,now 52.0.0-3 all [instal·lat]
>>>> python3-six/testing,testing,testing,now 1.16.0-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-smbc/testing,testing,testing,now 1.0.23-1+b1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-software-properties/testing,testing,testing,now 0.96.20.2-2.1 all 
>>>> [instal·lat, automàtic]
>>>> python3-soupsieve/testing,testing,testing,now 2.2.1-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-systemd/testing,testing,testing,now 234-3+b4 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-talloc/testing,testing,testing,now 2.3.1-2+b1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-tdb/testing,testing,testing,now 1.4.3-1+b1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-tinycss2/testing,testing,testing,now 1.0.2-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-tinycss/testing,testing,testing,now 0.4-3+b4 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-tk/testing,testing,testing,now 3.9.2-1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-tornado/testing,testing,testing,now 6.1.0-1+b1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3-tz/testing,testing,testing,now 2021.1-1 all [instal·lat, automàtic]
>>>> python3-uno/testing,testing,testing,now 1:7.0.4-4 amd64 [instal·lat]
>>>> python3-urllib3/testing,testing,testing,now 1.26.4-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-webencodings/testing,testing,testing,now 0.5.1-2 all [instal·lat, 
>>>> automàtic]
>>>> python3-wheel/testing,testing,testing,now 0.34.2-1 all [instal·lat, 
>>>> automàtic]
>>>> python3-xapp/testing,testing,testing,now 2.0.2-2 all [instal·lat, 
>>>> automàtic]
>>>> python3-xdg/testing,testing,testing,now 0.27-2 all [instal·lat, automàtic]
>>>> python3-xlib/testing,testing,testing,now 0.29-1 all [instal·lat, automàtic]
>>>> python3-yaml/testing,testing,testing,now 5.3.1-4 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3.9-dev/testing,testing,testing,now 3.9.2-1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3.9-doc/testing,testing,testing,now 3.9.2-1 all [instal·lat, 
>>>> automàtic]
>>>> python3.9-examples/testing,testing,testing,now 3.9.2-1 all [instal·lat, 
>>>> automàtic]
>>>> python3.9-minimal/testing,testing,testing,now 3.9.2-1 amd64 [instal·lat, 
>>>> automàtic]
>>>> python3.9/testing,testing,testing,now 3.9.2-1 amd64 [instal·lat, automàtic]
>>>> python3/testing,testing,testing,now 3.9.2-3 amd64 [instal·lat, automàtic]
>>>> *2021-06-24 14:39:33 xavier@PC006:~$*
>> Algú d'entre vosaltres em pot orientar?
>> Mercès
>> 
>> /""/
>> 
>> *Xavier De Yzaguirre*
>> xdeyzaguirre(at)gmail(dot)com
>> +34 629 953 830
>> 
>> 
>>  [https://www.linuxcounter.net/cert/546157.png]

Attachment: signature.asc
Description: PGP signature

Respondre per correu electrònic a