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:
Ekwinder Saini 2023-07-24 23:50:43 +05:30 committed by GitHub
parent 0eb8e55065
commit 9cfbe87392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -138,8 +138,8 @@ Weve added the MySQL module and updated the code to connect to the database s
First, lets 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.