mirror of https://github.com/docker/docs.git
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:
parent
0eb8e55065
commit
9cfbe87392
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue