Project

General

Profile

Actions

Idea #20543

closed

Documentation should stop suggesting `pip install --user`

Added by Brett Smith about 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Documentation
Start date:
07/07/2023
Due date:
Story points:
0.5
Release relationship:
Auto

Description

This installation method will fail on distributions that mark themselves as "externally managed" following PEP 668. As I write this that's Debian 12 and Ubuntu 23.04. Others are expected to follow.

The best replacement is probably:

python3 -m venv DIRNAME
DIRNAME/bin/pip install PKGNAME

… and then run the software from DIRNAME/bin, either explicitly, using $PATH, a symlink from $PATH, whatever.


Subtasks 1 (0 open1 closed)

Task #20716: Review 20543-pip-install-virtualenvResolvedBrett Smith07/07/2023Actions
Actions

Also available in: Atom PDF