OXIESEC PANEL
- Current Dir:
/
/
snap
/
certbot
/
4730
/
usr
/
share
/
doc
/
python3-pip
/
html
/
topics
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/10/2025 09:51:14 PM
rwxr-xr-x
📄
authentication.md.gz
2.64 KB
02/03/2024 09:48:10 AM
rw-r--r--
📄
caching.md.gz
2.13 KB
02/03/2024 09:48:10 AM
rw-r--r--
📄
configuration.md.gz
2.39 KB
02/03/2024 09:48:10 AM
rw-r--r--
📄
dependency-resolution.md.gz
4.74 KB
02/03/2024 09:48:10 AM
rw-r--r--
📄
deps.dot
353 bytes
02/03/2024 09:48:10 AM
rw-r--r--
📄
deps.png
21.81 KB
10/18/2024 05:04:47 PM
rw-r--r--
📄
https-certificates.md
2.19 KB
02/03/2024 09:48:10 AM
rw-r--r--
📄
index.md
418 bytes
02/03/2024 09:48:10 AM
rw-r--r--
📄
local-project-installs.md
3.46 KB
02/03/2024 09:48:10 AM
rw-r--r--
📄
more-dependency-resolution.md.gz
3.42 KB
02/03/2024 09:48:10 AM
rw-r--r--
📄
python-option.md
938 bytes
02/03/2024 09:48:10 AM
rw-r--r--
📄
repeatable-installs.md
3.74 KB
02/03/2024 09:48:10 AM
rw-r--r--
📄
secure-installs.md.gz
2.31 KB
02/03/2024 09:48:10 AM
rw-r--r--
📄
vcs-support.md.gz
1.91 KB
02/03/2024 09:48:10 AM
rw-r--r--
Editing: python-option.md
Close
# Managing a different Python interpreter ```{versionadded} 22.3 ``` Occasionally, you may want to use pip to manage a Python installation other than the one pip is installed into. In this case, you can use the `--python` option to specify the interpreter you want to manage. This option can take one of two values: 1. The path to a Python executable. 2. The path to a virtual environment. In both cases, pip will run exactly as if it had been invoked from that Python environment. One example of where this might be useful is to manage a virtual environment that does not have pip installed. ```{pip-cli} $ python -m venv .venv --without-pip $ pip --python .venv install SomePackage [...] Successfully installed SomePackage ``` You could also use `--python .venv/bin/python` (or on Windows, `--python .venv\Scripts\python.exe`) if you wanted to be explicit, but the virtual environment name is shorter and works exactly the same.