python - 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.
解决方案
>>> pip instal mysql-connector-python
- 这>>>
是python交互式shell。您必须pip
从命令提示符/终端执行命令,例如在 Windows 上启动 cmd 并pip install mysql-connector-python
在提示符下键入,例如
c:\>pip install mysql-connector-python
推荐阅读
- roku - 可以在海报节点和 Roku 中的其他节点上设置计时器..?
- apache-flink - 关于flink连接远程任务管理器报错的问题
- matlab - 并行实时图像采集和处理的最佳方法 (MATLAB)
- c++ - 为什么在以下情况下不需要对依赖类型使用 typename?
- php - 如何从 php 获取数据以添加 vue 的 json 数据?
- intellij-idea - 如何在 IntelIj Idea 中打开带有视图的底部工具窗口?
- docker - Dockerfile RUN mkdir 不创建文件
- error-handling - 从观察者内部的“下一个”函数调用“错误”
- python-3.x - 通过 REST API 创建 Keycloak 客户端
- symfony - 拥有一个在教义中使用 ID 实体的 CustomIdGenerator 是个好主意吗?