Skip to content

Commit b88de7d

Browse files
committed
Re-apply documentation addition
1 parent 2aac9f2 commit b88de7d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/html/cli/pip_freeze.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,21 @@ Examples
7272
7373
env1\bin\python -m pip freeze > requirements.txt
7474
env2\bin\python -m pip install -r requirements.txt
75+
76+
77+
Fixing "Permission denied:" errors
78+
==================================
79+
80+
The purpose of this section of documentation is to provide practical
81+
suggestions to users seeing a `"Permission denied" error <https://github.com/pypa/pip/issues/8418>`__ on ``pip freeze``.
82+
83+
This error occurs, for instance, when the command is installed only for another
84+
user, and the current user doesn't have the permission to execute the other
85+
user's command.
86+
87+
To solve that issue, you can try one of the followings:
88+
89+
- Install the command for yourself (e.g. in your home directory).
90+
- Ask the system admin to allow this command for all users.
91+
- Check and correct the PATH variable of your own environment.
92+
- Check the `ACL (Access-Control List) <https://en.wikipedia.org/wiki/Access-control_list>`_ for this command.

0 commit comments

Comments
 (0)