J
J
JohnDoe0002022-01-10 21:58:06
linux
JohnDoe000, 2022-01-10 21:58:06

What could be the problem with XDG?

Unable to use ProtonVPN CLI, startup error is as follows:

Traceback (most recent call last):
  File "/usr/bin/protonvpn", line 11, in <module>
    load_entry_point('protonvpn-gui==1.7.0', 'console_scripts', 'protonvpn')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 490, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2854, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2445, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/protonvpn_gui/main.py", line 16, in <module>
    from protonvpn_nm_lib.api import protonvpn
  File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/api.py", line 2, in <module>
    from .core.country import Country
  File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/core/__init__.py", line 3, in <module>
    from ..constants import APP_CONFIG, APP_VERSION, LOGGER_NAME
  File "/usr/lib/python3/dist-packages/protonvpn_nm_lib/constants.py", line 8, in <module>
    from xdg import BaseDirectory
ImportError: cannot import name 'BaseDirectory' from 'xdg' (/home/user/.local/lib/python3.8/site-packages/xdg/__init__.py)

Reinstalling both the full client and XDG. Runs with sudo but refuses to function.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question