Python3.6.2在线安装pymysql模块

我是一个python新手刚才使用python写邮件发送代码的时候想着需要连接数据库, 下面的安装步骤

python -m pip install pymysql


PS C:Usershp> python -m pip install pymysql
Collecting pymysql
  Downloading PyMySQL-0.8.0-py2.py3-none-any.whl (83kB)
    100% |████████████████████████████████| 92kB 24kB/s
Installing collected packages: pymysql
Successfully installed pymysql-0.8.0
PS C:Usershp> python --version
Python 3.6.2

  

原文地址:https://www.cnblogs.com/chenglee/p/8565434.html