Closed Timmy-Tenders closed 2 years ago
This happened to me today too.
Solved it by uninstalling all pvpn packages, removing any cached stuff (probably only ~/.cache/protonvpn
matters but I removed yay
caching too), and reinstalling.
Which packages did you remove ? I did reinstall removing the yay cache as well as yay cache.
The AUR metapackage (protonvpn
). It is a little funny, I had to do the process twice on one of my systems.
I had it installed from the AUR but not the metapackage just directly the protonvpn-cli package.
Try yay -Rs protonvpn-cli
(uninstalls dependencies too), remove caches, reinstall.
That last one worked for me thanks.
The last one worked for me too. Thanks,
For me too. I think this can be closed!
Hey ! i'have the same problem. BUT any of your solution or solution of this link works for me.
Exactly got this error:
Traceback (most recent call last):
File "/usr/bin/protonvpn-cli", line 33, in <module>
sys.exit(load_entry_point('protonvpn-cli==3.11.0', 'console_scripts', 'protonvpn-cli')())
File "/usr/bin/protonvpn-cli", line 25, in importlib_load_entry_point
return next(matches).load()
StopIteration
[Edited to track solution found for Manjaro] Hello! Similar issue on Manjaro.
I tried the following:
pamac remove -o protonvpn-cli
rm -rf ~/.cache/protonvpn/
pamac build protonvpn-cli
Builds without error, however any protonvpn-cli
command returns
Traceback (most recent call last):
File "/usr/bin/protonvpn-cli", line 33, in <module>
sys.exit(load_entry_point('protonvpn-cli==3.11.0', 'console_scripts', 'protonvpn-cli')())
File "/usr/lib/python3.10/site-packages/protonvpn_cli/main.py", line 20, in main
from .cli import ProtonVPNCLI
File "/usr/lib/python3.10/site-packages/protonvpn_cli/cli.py", line 4, in <module>
from proton.constants import VERSION as proton_version
ModuleNotFoundError: No module named 'proton'
Linux 5.10.89-1-MANJARO with Python 3.10.1 Thread on Manjaro Forum: Proton vpn stopped working
The solution was to run the command pamac build $(pacman -Qoq /usr/lib/python3.9)
after the installation.
... so pamac build #(pacman -Qoq /usr/lib/python3.9)
returns: (terminal output attached as txt file)
protonvpn-pythonup-pamacerrors.txt
tl;dr: build tests fail. install aborts.
Update.
Further testing revealed, in my case, the AUR python package build string failed due to other packages. Attempting pamac build
and giving only the python-proton packages as argument worked.
did solve this by install the protonvpn-beta.
I'm getting this error:
Traceback (most recent call last): File "/usr/bin/protonvpn", line 11, in <module> load_entry_point('protonvpn-gui==1.8.0', 'console_scripts', 'protonvpn')() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 479, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2861, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2465, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2471, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib/python3/dist-packages/protonvpn_gui/main.py", line 14, in <module> from proton.constants import VERSION as proton_version File "/usr/lib/python3/dist-packages/proton/__init__.py", line 1, in <module> from .api import Session # noqa File "/usr/lib/python3/dist-packages/proton/api.py", line 6, in <module> import requests File "/usr/lib/python3/dist-packages/requests/__init__.py", line 43, in <module> import urllib3 File "/usr/local/lib/python3.10/dist-packages/urllib3/__init__.py", line 8, in <module> from .connectionpool import ( File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 29, in <module> from .connection import ( File "/usr/local/lib/python3.10/dist-packages/urllib3/connection.py", line 39, in <module> from .util.ssl_ import ( File "/usr/local/lib/python3.10/dist-packages/urllib3/util/__init__.py", line 3, in <module> from .connection import is_connection_dropped File "/usr/local/lib/python3.10/dist-packages/urllib3/util/connection.py", line 3, in <module> from .wait import wait_for_read File "/usr/local/lib/python3.10/dist-packages/urllib3/util/wait.py", line 1, in <module> from .selectors import ( File "/usr/local/lib/python3.10/dist-packages/urllib3/util/selectors.py", line 14, in <module> from collections import namedtuple, Mapping ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
I'm using Kali 2022.2
UPDATE: Just solved the problem by deleting "/usr/local/lib/python3.10" folder and installing required modules manually by pip in a non-root terminal. Modules installed - "Mapping" and "urllib3".
I got it working by doing the following:
pamac remove python-proton-client python-protonvpn-nm-lib protonvpn-gui protonvpn-cli protonvpn
pamac clean -k 0 # removes build files that are cached
rm -rf ~/.cache/protonvpn
pamac install protonvpn
When trying to run any command even
protonvpn-cli --version
the following error is thrown:Traceback (most recent call last): File "/usr/bin/protonvpn-cli", line 33, in
sys.exit(load_entry_point('protonvpn-cli==3.11.0', 'console_scripts', 'protonvpn-cli')())
File "/usr/lib/python3.10/site-packages/protonvpn_cli/main.py", line 20, in main
from .cli import ProtonVPNCLI
File "/usr/lib/python3.10/site-packages/protonvpn_cli/cli.py", line 4, in
from proton.constants import VERSION as proton_version
ModuleNotFoundError: No module named 'proton'
On Arch Linux Python3 Version 3.10.1