Skip to content

pip3 install now requires venv #8

@zamora

Description

@zamora

On Debian 12 (bookworm), I ran into an error when trying to install cifstab. When I ran the pip3 install command, I got the following error: "error: externally-managed-environment". I was able to solve the problem by creating a virtual environment for cifstab. I chose to create it in /usr/local/venv:

sudo python3 -m venv /usr/local/venv
sudo /usr/local/venv/bin/pip3 install git+https://github.com/sudoofus/cifstab.git
sudo /usr/local/venv/bin/python3 -m pip install cifstab

Then I created a link in /usr/local/bin to point to the venv: sudo ln -s /usr/local/venv/bin/cifstab /usr/local/bin

After doing this, I was able to run cifstab as expected. You might want to consider updating the instructions.

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