python3_pip_window10_"pymysql install"

Posted chaogod

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python3_pip_window10_"pymysql install"相关的知识,希望对你有一定的参考价值。

python3 pymysql install
question
window10 install pymysql

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
resolve
http://www.lfd.uci.edu/~gohlke/pythonlibs/

download

pip install  numpy?1.13.1+mkl?cp36?cp36m?win_amd64.whl 

#  setting.py
import pymysql
pymysql.install_as_MySQLdb()
DATABASES = {
    ‘default‘: {
        ‘ENGINE‘: ‘django.db.backends.mysql‘,
        ‘NAME‘: ‘devops‘, 
        ‘USER‘: ‘root‘,     
        ‘PASSWORD‘: ‘123456‘, 
        ‘HOST‘: ‘1.1.1.1‘, 
        ‘PORT‘: ‘3306‘,        
    }
}

以上是关于python3_pip_window10_"pymysql install"的主要内容,如果未能解决你的问题,请参考以下文章

c++程序错误error LNK2001: unresolved external symbol "public: void __thiscall CEmp::print(void)&quo

HDOJ/HDU 2352 Verdis Quo(罗马数字与10进制数的转换)

[SQL Server]无法解决 equal to 运算中 "SQL_Latin1_General_CP1_CI_AS" 和 "Chinese_PRC_CI_AS&quo

[SQL Server]无法解决 equal to 运算中 "SQL_Latin1_General_CP1_CI_AS" 和 "Chinese_PRC_CI_AS&quo

linux shell 脚本 wak语句中 awk 'BEGIN FS="'"'"'";RS="\n&quo

我的nvim配置