python wand安装_python 相关安装和配置

本文详细介绍了在Windows、Linux环境下安装Python Wand及相关依赖的步骤,包括解决编译问题、安装MySQL-python、DBUtils、数据挖掘环境的配置、PIL和Python Magick的安装。并提供了示例代码展示Wand的使用。
摘要由CSDN通过智能技术生成

一. window环境安装

1. 安装python 2.7.3 (win7 64)

下载python-2.7.3.amd64.msi

2. 安装easy_install

3. 安装其他功能包

如:easy_install MySQL-python

easy_install -U DBUtils

问题解决:

.没有gcc编译环境

unable to find vcvarsall.bat

解决方法:安装编译环境(一个老外的帖子)

1)  First ofall download MinGW. Youneed g++compiler and MingW make in setup.

2)  If youinstalled MinGW for example to “C:\MinGW” then add “C:\MinGW\bin”to your PATH in Windows.(安装路径加入环境变量)

3)  Now startyour Command Prompt and go the directory where you have your setup.py residing.

4)  Last andmost important step:

setup.py install build --compiler=mingw32

或者在setup.cfg中加入:

[build]

compiler = mingw32

4. 已编译版本安装

MySQL-python-1.2.3.win-amd64-py2.7.exe

5. api文档地址 2.7

http://docs.python.org/2/py-modindex.html<

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值