Skip to content

[BUG] - Install on Debian 12 (Bookworm) #357

Open
@m0nk3h

Description

@m0nk3h

Describe the bug
Attempting to install the package throws an error, see below.

To Reproduce
Steps to reproduce the behavior:
Follow install instructions, either using pip3 or manually from the repo

Expected behavior
Program to install, as it has done on Buster & Bullseye

Error Messages/Program Output/Log Messages (~/.pvpn-cli/pvpn-cli.log)

dietpi in 🌐 DietPi in linux-cli-community on  master via  v3.11.2 took 2s
❯ pip3 install -e .
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

Desktop (please complete the following information):

  • OS: Dietpi, updated to Debian 12
  • Python Version: Python 3.11.2
  • ProtonVPN-CLI Version: current Git version from repo.

Additional context
I've been using this program for many years now, and it has worked perfectly on this system. I cannot use the official protonvpn cli tool, as it does not support headless environments, and my Rasberry Pi Zero 2 is only available over SSH.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions