mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Modifying pip3 install to python3 -m pip install for consistency across guide modules (#17815)
* Modifying pip3 install to python3 -m pip install for consistency across guide modules In the other pages of the guide python3 -m pip install is used instead of pip3 install, the former being better practice as well. Therefore, replacing the use of pip3 install commands to the recommended one.
This commit is contained in:
@@ -138,8 +138,8 @@ We’ve added the MySQL module and updated the code to connect to the database s
|
||||
First, let’s add the `mysql-connector-python` module to our application using pip.
|
||||
|
||||
```console
|
||||
$ pip3 install mysql-connector-python
|
||||
$ pip3 freeze | grep mysql-connector-python >> requirements.txt
|
||||
$ python3 -m pip install mysql-connector-python
|
||||
$ python3 -m pip freeze | grep mysql-connector-python >> requirements.txt
|
||||
```
|
||||
|
||||
Now we can build our image.
|
||||
|
||||
Reference in New Issue
Block a user