Page 27 - Phyton_GUIprogrammingwithTkinter
P. 27
P a ge | 18
2. Open Command Prompt to check your python version (based on which version you
install) and type the command to check the version.
a. python –version (to check python version)
b. pip –version (to check standard package manager of python)
3. To install MySQL connector, the command is:
pip3 install mysql-connector
For Python 2.7 or lower install using pip as:
pip install mysql-connector
For Python 3 or higher version install using pip3 as:
pip3 install mysql-connector
4. If you get warning and asking for upgrade the pip version. You should try to upgrade
it with this command:
pip install --upgrade pip

