报错信息: sudo pip install cryptography Password: The directory '/Users/wanghao/Library/Caches/pip/http' or its parent directory is not owned by the curre ...
分类:
系统相关 时间:
2016-12-03 21:22:22
阅读次数:
373
打算爬虫,安装mysqldb 结果使用pip安装出错 在centos-6.4上pip install mysql-python,报错如下[sentry@kjtest111 mysql-python]$ pip install mysql-python Downloading/unpacking my ...
分类:
数据库 时间:
2016-12-01 14:12:16
阅读次数:
530
在win7下安装了Python后,想安装python-MySQL,使用pip安装出现如下问题: >pip install MySQL-python _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': ...
分类:
数据库 时间:
2016-12-01 03:28:04
阅读次数:
199
一、适用环境: mac系列,osx10.10,自带Python 二、简要步骤: 1. 安装pip,mac自带Python环境,所以我们改成安装pip 2. 安装wxPython,此处我下载的版本是wxPython2.8-osx-unicode-2.8.12.1-universal-py2.7.dmg ...
分类:
系统相关 时间:
2016-11-30 14:32:24
阅读次数:
255
python操作excel,python操作excel使用xlrd、xlwt和xlutils模块,xlrd模块是读取excel的,xlwt模块是写excel的,xlutils是用来修改excel的。这几个模块使用pip安装即可,下面是这几个模块的使用。 1、读excel ...
分类:
编程语言 时间:
2016-11-30 03:14:44
阅读次数:
232
Python操作excel需要使用xlrd(用来读excel)、xlwt(用来写excel)、xlutils(用来修改excel)三个模块,使用pip安装 1、读excel wb=xlrd.open_workbook('abc.xlsx')#打开excel,这个excel必须存在,不存在会报错 #获 ...
分类:
编程语言 时间:
2016-11-29 23:01:13
阅读次数:
184
对于Python开发用户来讲,PIP安装软件包是家常便饭。但国外的源下载速度实在太慢,浪费时间。而且经常出现下载后安装出错问题。所以把PIP安装源替换成国内镜像,可以大幅提升下载速度,还可以提高安装成功率。 国内源: 新版ubuntu要求使用https源,要注意。 清华:https://pypi.t ...
分类:
其他好文 时间:
2016-11-28 09:05:27
阅读次数:
334
robot framework 是一款专门用作自动化测试的框架,提供了丰富的内置库,与第三方库,也支持用户自己编写的库,robot framework +library 可以 用来做ui的自动化测试,接口自动化测试,以及app的自动化测试等等。下面介绍一下robot framwork的安装与配置。 ...
分类:
其他好文 时间:
2016-11-28 08:55:50
阅读次数:
164
linux安装locust 1. 安装epel扩展源(目的是为了在安装Pip时不出现一堆乱七八糟的错误信息) EPEL(http://fedoraproject.org/wiki/EPEL) 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux ...
分类:
系统相关 时间:
2016-11-26 14:53:03
阅读次数:
844
1、mysql安装此处省略一万字.......2、pip安装MySQLdb模块sudopipinstallmysql-python3、简单代码#!/usr/bin/envpython
#-*-coding:utf-8-*-
importMySQLdb
#建立连接
conn=MySQLdb.connect(host=‘127.0.0.1‘,user=‘root‘,passwd=‘1qaz#EDC‘,db=‘test_db‘)
cur=conn.cursor()#..
分类:
数据库 时间:
2016-11-24 12:09:46
阅读次数:
256