Use `python -m pip` as install snippet

It is advised to not use `pip` plain, it should always be
`python -m pip`. One important benefit is that this way one always
installs packages to the currently active virtual environment.

The topic is covered in depth at
https://snarky.ca/why-you-should-use-python-m-pip/.
This commit is contained in:
Max Görner 2021-12-27 08:25:52 +01:00
parent 288e8e2d83
commit 5422537585
11 changed files with 11 additions and 11 deletions

View File

@ -40,7 +40,7 @@ Rich 还可以与[Jupyter 笔记本](https://jupyter.org/)一起使用,而无
使用`pip`或其他 PyPI 软件包管理器进行安装。
```
pip install rich
python -m pip install rich
```
## Rich 的打印功能

View File

@ -40,7 +40,7 @@ Rich funktioniert mit [Jupyter notebooks](https://jupyter.org/) ohni irgendwelch
Installation mit `pip` oder mit dim liäblings PyPI Päckli-Manager.
```
pip install rich
python -m pip install rich
```
Für das do us zum d Rich usgob im Törminäl z teste:

View File

@ -40,7 +40,7 @@ Rich funciona con [Jupyter notebooks](https://jupyter.org/) sin necesidad de con
Instale con `pip` o su administrador de paquetes PyPI favorito.
```
pip install rich
python -m pip install rich
```
Ejecute lo siguiente para probar la salida de Rich sobre su terminal:

View File

@ -40,7 +40,7 @@ Rich fonctionne avec les notebooks Jupyter sans configuration supplémentaire.
Installez avec `pip` ou votre gestionnaire de paquets PyPI préféré.
```
pip install rich
python -m pip install rich
```
Exécutez ce qui suit pour tester la sortie de Rich sur votre terminal :

View File

@ -42,7 +42,7 @@ Rich बिना किसी अतिरिक्त विन्यास
`pip` या अपने पसंदीदा PyPI संकुल प्रबंधक (package manager) के द्वारा आप इसे स्थापित कर सकते हैं।
```
pip install rich
python -m pip install rich
```
आपके टर्मिनल पर Rich उत्पादन का परीक्षण करने के लिए यह चलाएं:

View File

@ -40,7 +40,7 @@ Rich funziona con i [Jupyter notebooks](https://jupyter.org/) senza configurazio
Installa con `pip` o il tuo PyPI package manager preferito.
```shell
pip install rich
python -m pip install rich
```
Esegui il seguente comando per testare l'output di Rich sul tuo terminale:

View File

@ -40,7 +40,7 @@ Richは追加の設定を行わずとも、[Jupyter notebooks](https://jupyter.o
`pip` や、あなたのお気に入りのPyPIパッケージマネージャを使ってインストールしてください。
```
pip install rich
python -m pip install rich
```
以下のコマンドを実行して、ターミナルでリッチの出力をテストできます:

View File

@ -40,7 +40,7 @@ Rich는 [Jupyter notebooks](https://jupyter.org/)에서 별도의 설정없이
`pip` 또는 좋아하는 PyPI 패키지 매니저로 설치하세요.
```
pip install rich
python -m pip install rich
```
아래 명령어를 통해 터미널에서 Rich 출력을 테스트해보세요.

View File

@ -41,7 +41,7 @@ Rich works with [Jupyter notebooks](https://jupyter.org/) with no additional con
Install with `pip` or your favorite PyPI package manager.
```
pip install rich
python -m pip install rich
```
Run the following to test Rich output on your terminal:

View File

@ -39,7 +39,7 @@ Rich funciona com [Jupyter notebooks](https://jupyter.org/) sem a necessidade de
Instale usando `pip` ou seu gerenciador de pacotes PyPI favorito.
```
pip install rich
python -m pip install rich
```
Execute o seguinte comando para testar o output do Rich no seu terminal:

View File

@ -39,7 +39,7 @@ Rich funkar med [Jupyter notebooks](https://jupyter.org/) utan någon ytterligar
Installera med `pip` eller din favorita PyPI packet hanterare.
```
pip install rich
python -m pip install rich
```
Kör följade följande för att testa Rich utmatning i din terminal: