cifscloak icon indicating copy to clipboard operation
cifscloak copied to clipboard

pip3 install now requires venv

Open zamora opened this issue 7 months ago • 1 comments

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.

zamora avatar Jul 09 '25 00:07 zamora

Thank you Zamora, I'll take a look as soon as I can.

sudoofus avatar Jul 10 '25 08:07 sudoofus