-
学习笔记CentOS下配置安装mysql-python(lnmp环境)
安装mysql-python多次,仍然忘记安装过程,只好记录下来下次备用。 1. 首先安装mysql的资源工具包,以便安装mysql-python使用 yum install mysql-devel -y 2. 创建mysql_config的软连接(针对lnm...
-
学习笔记Mysql: (2013, 'Lost connection to MySQL server during query')解决办法
python向mysql导入数据时候报错_mysql_exceptions.OperationalError: (2013, 'Lost connection to MySQL server during query'),刚开始以为python配置不对,后来搜索了一下解决了,附上解决...
-
学习笔记Python requests: InsecurePlatformWarning: A true SSLContext object is not available.
安装python库requests的时候遇到问题: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL...
-
学习笔记error: command 'gcc' failed with exit status 1
python安装pyOpenSSL的时候报错"error: command 'gcc' failed with exit status 1",在git上找到的解决方案: yum -y install gcc gcc-c++ kernel-devel yum -y install p...
-
学习笔记windows下安装MySQL-python方法
一般情况下,pip install MySQL-python就可以成功的安装好python环境下的mysql拓展,结果...反正是没有成功,起初以为需要安装VC for python,下载后还是不行,无奈下,多搜索,多尝试,费了好久终于搞定了,于是记录下 http://w...