Edit:As mentioned by another user below, I was able to resolve the issue by manually rebuildingpython-protonvpn-nm-lib, python-proton-clientandprotonvpn-clirespectively withmakepkg -si. Thanks to everyone who offered to help.
I am on Arch. Tried uninstalling and reinstalling the package, still getting the same error:
Traceback (most recent call last):
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 563, in from_name
return next(cls.discover(name=name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/protonvpn-cli", line 33, in <module>
sys.exit(load_entry_point('protonvpn-cli==3.13.0', 'console_scripts', 'protonvpn-cli')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/protonvpn-cli", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 981, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 565, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for protonvpn-cli
Use of Python by Proton is a disaster on Linux, hope they are rewritting it without any dependencies. Have you followed carefully the instructions on their site to uninstall ? Disable the kill switch ?
Hi! We would like to let you know that the Proton VPN development team was made aware of this issue yesterday, and they’re looking into potential causes and solutions. We sincerely apologize for any inconvenience this may cause you in the meantime
Traceback (most recent call last): File “/usr/bin/protonvpn”, line 33, in sys.exit(load_entry_point(‘protonvpn-gui==1.12.0’, ‘console_scripts’, ‘protonvpn’)()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/bin/protonvpn”, line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3.11/importlib/metadata/__init__.py”, line 202, in load module = import_module(match.group(‘module’)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3.11/importlib/__init__.py”, line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “<frozen importlib._bootstrap>”, line 1206, in _gcd_import File “<frozen importlib._bootstrap>”, line 1178, in _find_and_load File “<frozen importlib._bootstrap>”, line 1149, in _find_and_load_unlocked File “<frozen importlib._bootstrap>”, line 690, in _load_unlocked File “<frozen importlib._bootstrap_external>”, line 940, in exec_module File “<frozen importlib._bootstrap>”, line 241, in _call_with_frames_removed File “/usr/lib/python3.11/site-packages/protonvpn_gui/main.py”, line 14, in from proton.constants import VERSION as proton_versionModuleNotFoundError: No module named ‘proton’
On EndeavourOS for me, but seems like a legit issue with python 3.11. I’ve checked their github page, nothing, for either cli or app on this particular issue. Nor anything relevant for this week.
You are not alone. This is the last nail in the coffin for them to me. Not only am i not getting the features i am paying for on Linux, now it simply does not work anymore. Truly deceptive for a company charging so much.
Your issue is that the CLI Version only supports up to python 3.8
Check the setup.py file.
It’s no issue with Arch, or ProtonVPN. An update to compatibility would be nice, but hey, that’s why it’s open source. Feel free to open a pull request.
Dear ProtonVPN, This is the final straw I want my money back. Let me know how I can get it, and no I don’t want ur BS credits. I have no intention of ever making any more transactions with you.
I am also exploring legal ways. You guys need to suffer for the scam that you are running.
Do a clean re-build for protonvpn-cli.
Steps I did: `yay -Rs protonvpn-cli` this is remove the packages. And then install using `yay -S protonvpn-cli` and then select all the packages for clean build. That solved the issue for me.