码迷,mamicode.com
首页 >  
搜索关键字:安装mysql-python    ( 150个结果
mysql_config not found
在python中安装MySQL_python。不想通过下载源码编译,而是想用easy_installMySQL_python来安装。结果一直报错:mysql_config not found网上很多资料说要通过修改site.cfg来指定mysql_config的位置。我想只是因为我的macos里的m...
分类:数据库   时间:2015-02-01 20:17:29    阅读次数:159
nginx+uwsgi部署django项目
操作可参考http://www.linuxyw.com/353.html(nginx+uwsgi+django+python环境部署文档)这里只说明几点我的配置环境:Nginx版本:1.7.9Django版本:1.6.8Python版本:2.7.5Uwsgi版本:2.0.9安装MySQL-python:最好源码安装,yuminstall-yMySQL-python可能因为路径问题importMySQLd..
分类:其他好文   时间:2015-01-07 19:08:01    阅读次数:364
ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory
情景:在python中使用mysql已知:[root@iZ28cumdzmgZmuahao03]#piplist Django(1.7.1) MySQL-python(1.2.5) pip(1.5.6) pysqlite(2.6.3) setuptools(8.2.1) wsgiref(0.1.2)已经安装MySQL-python报错:ImportError:libmysqlclient.so.18:cannotopensharedobjectfile:Nosuchfileo..
分类:数据库   时间:2015-01-04 06:28:24    阅读次数:501
安装MySQL-python
1、使用yum安装1.1检查MySQL-python[root@gfsunny105mysql_tools]#pythonPython2.4.3(#1,Dec102010,17:24:32)[GCC4.1.220080704(RedHat4.1.2-50)]onlinux2Type"help","copyright","credits"or"license"formoreinformation.>>>importMySQLdbTraceback(mostrecentcallla..
分类:数据库   时间:2014-12-30 11:59:12    阅读次数:215
python学习笔记十一:操作mysql
一、安装MySQL-python# yum install -y MySQL-python二、打开数据库连接#!/usr/bin/pythonimport MySQLdbconn = MySQLdb.connect(user='root',passwd='admin',host='127.0.0.1...
分类:数据库   时间:2014-12-29 19:53:38    阅读次数:192
pyton 安装遇到的问题
还是老样子,本来想自己写的,但是发现这个哥们写的相当详细,直接搬过来即可   安装环境:OS X操作系统,Python 2.7.3。   MySQLdb其实包含在MySQL-python包中,因此无论下载还是在pip中search,都应该是搜寻MySQL-python。   以下将说明MySQLdb两种常见的安装方式,下载安装或者pip安装MySQL-python。   下...
分类:其他好文   时间:2014-12-24 14:45:27    阅读次数:199
MAC os10.9 MySql-python 安装
Mac os 上安装MySql-python步骤: 1.下载MySql,也叫MySQL Community Server,速度慢的就上百度盘找把 http://dev.mysql.com/downloads/mysql/ 下载10.9版本即可(根据系统版本下载) 2.安装MySql-python,也就是python调用MySql的一套API,并不是MySql数据库 方法1:命令行...
分类:数据库   时间:2014-12-18 13:39:19    阅读次数:171
Centos4.3安装MySQL-python-1.2.3,出现error: command 'gcc' failed with exit status 1
在Linux Centos 4.3上安装MySQL-python-1.2.3的时候出现error: command 'gcc' failed with exit status 1,具体原因是因为没有安装mysql-devel包使用yum install mysql-devel成功解决。才想起来在运行...
分类:数据库   时间:2014-12-17 14:16:42    阅读次数:238
安装mysql-python报错
运行: pip install mysql-python报错如下: Downloading/unpacking MYSQL-python Downloading MySQL-python-1.2.5.zip (108kB): 108kB downloaded Running setup.py...
分类:数据库   时间:2014-12-11 17:08:18    阅读次数:191
mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
安装mysql-python之前, 请先安装setuptools.https://pypi.python.org/pypi/setuptools/7.0下载mysql-python. 下载源码包. https://pypi.python.org/pypi/MySQL-python/1.2.5解压后执...
分类:数据库   时间:2014-11-11 15:42:55    阅读次数:1625
150条   上一页 1 ... 12 13 14 15 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!