06-08-20121
This commit is contained in:
@@ -113,10 +113,10 @@ lrwxr-xr-x 1 bruno staff 6 15 mar 07:29 python3 -> python
|
||||
|
||||
|
||||
|
||||
Mettre-à-jour `pip` et `setuptools`:
|
||||
Mettre-à-jour `pip`, `setuptools` et installer `wheel`:
|
||||
|
||||
```bash
|
||||
(tuto-virtuel-env) bruno@SilverBook:~/venv/tuto-virtuel-env/bin$ pip3 install -U pip setuptools
|
||||
(tuto-virtuel-env) bruno@SilverBook:~/venv/tuto-virtuel-env/bin$ pip3 install -U pip setuptools wheel
|
||||
```
|
||||
|
||||
|
||||
@@ -150,6 +150,27 @@ Le module installé dans l'environnement virtuel est disponible UNIQUEMENT dans
|
||||
|
||||
|
||||
|
||||
#### Virtual environnment courant:
|
||||
|
||||
```python
|
||||
❯ python
|
||||
Python 3.9.6 (default, Jun 28 2021, 19:24:41)
|
||||
[Clang 12.0.5 (clang-1205.0.22.9)] on darwin
|
||||
Type "help", "copyright", "credits" or "license" for more information.
|
||||
>>> import sys
|
||||
>>> print(sys.prefix)
|
||||
/Users/bruno/Documents/venv/soco-cli
|
||||
>>> print(sys.executable)
|
||||
/Users/bruno/Documents/venv/soco-cli/bin/python
|
||||
>>>
|
||||
```
|
||||
|
||||
```bash
|
||||
❯ which -a python
|
||||
/Users/bruno/Documents/venv/soco-cli/bin/python
|
||||
/usr/bin/python
|
||||
```
|
||||
|
||||
|
||||
|
||||
### pyvenv
|
||||
|
||||
Reference in New Issue
Block a user