File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -16,22 +16,12 @@ environment.
16
16
One example of where this might be useful is to manage a virtual environment
17
17
that does not have pip installed.
18
18
19
- ```` {tab} Unix/macOS
20
- ```{code-block} console
19
+ ``` {pip-cli}
21
20
$ python -m venv .venv --without-pip
22
- $ python -m pip --python .venv install SomePackage
21
+ $ pip --python .venv install SomePackage
23
22
[...]
24
23
Successfully installed SomePackage
25
24
```
26
- ````
27
- ```` {tab} Windows
28
- ```{code-block} console
29
- C:\> py -m venv .venv --without-pip
30
- C:\> py -m pip --python .venv install SomePackage
31
- [...]
32
- Successfully installed SomePackage
33
- ```
34
- ````
35
25
36
26
You could also use ` --python .venv/bin/python ` (or on Windows,
37
27
` --python .venv\Scripts\python.exe ` ) if you wanted to be explicit, but the
You can’t perform that action at this time.
0 commit comments