From 9cfbe87392400f8b6bbd64201bdff12f8d280461 Mon Sep 17 00:00:00 2001 From: Ekwinder Saini Date: Mon, 24 Jul 2023 23:50:43 +0530 Subject: [PATCH] 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. --- language/python/develop.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/python/develop.md b/language/python/develop.md index d3d1ef738b..c95f49bfc6 100644 --- a/language/python/develop.md +++ b/language/python/develop.md @@ -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.