首页 > 解决方案 > Installation of Python and MySQL connector

问题描述

On using pip command for installation MySQL connector in python it is giving syntax error

I have tried command:

pip install MySQL-connector-python

It is showing syntax error.

标签: pythonmysql

解决方案


>>> pip instal mysql-connector-python- 这>>>是python交互式shell。您必须pip从命令提示符/终端执行命令,例如在 Windows 上启动 cmd 并pip install mysql-connector-python在提示符下键入,例如 c:\>pip install mysql-connector-python


推荐阅读