码迷,mamicode.com
首页 >  
搜索关键字:pip    ( 8875个结果
Python中lxml模块的安装
lxml是Python中与XML及HTML相关功能中最丰富和最容易使用的库。lxml并不是Python自带的包,而是为libxml2和libxslt库的一个Python化的绑定。它与众不同的地方是它兼顾了这些库的速度和功能完整性,以及纯Python API的简洁性,与大家熟知的ElementTree API兼容但比之更优越!但安装lxml却又有点麻烦,因为存在依赖,直接安装的话用easy_install, pip都不能成功,会报gcc错误。下面列出来Windows、Linux下面的安装方法:...
分类:编程语言   时间:2015-02-12 18:23:38    阅读次数:182
安装爬虫scrapy
使用easy_install安装scrapy,报错error: Setup script exited with error: command 'gcc' failed with exit status 1查看报错信息发现尝试pip install lxml==3.3.0继续easy_install...
分类:其他好文   时间:2015-02-11 18:05:01    阅读次数:191
利用virtualenv和pip构建虚环境并安装配置推送客户端
yuminstallpython-virtualenvpython-pippython-setuptools/usr/bin/virtualenv-p/usr/local/bin/python2.7/home/himalayas/virtualenv/python-2.7-configclientsource/home/himalayas/virtualenv/python-2.7-configclient/bin/activate----进入在虚环境中进行如下操作:单独安..
分类:其他好文   时间:2015-02-10 17:05:01    阅读次数:258
nova 单元测试方式
需要安装的依赖包$sudoyuminstall-ypython-developenssl-develpython-pipgitgcclibxslt-develmysql-develpostgresql-devellibffi-devellibvirt-develgraphvizsqlite-devellibvirt-devel代码下载$gitclonehttps://github.com/openstack/nova.git安装pip$sudoyuminstall-ypython-..
分类:其他好文   时间:2015-02-10 17:03:32    阅读次数:433
mac上配置python的安装环境杂记
现在的python的包都是通过pip安装的。所以非常重要的一步是配置pip的安装源vi ~/.pip/pip.conf[global]index-url = http://pypi.douban.com/simple另外mac上python的包有两个位置/Library/Python/2.7/sit...
分类:编程语言   时间:2015-02-08 11:29:29    阅读次数:222
flask学习1
安装sudo pip install flask会同时安装flask\jinja2\wsdl,此时我在apache下创建工作目录:cd /Applications/XAMPP/xamppfiles/htcdosmkdir learnFlask测试flask是否安装成功,进入python环境:impo...
分类:其他好文   时间:2015-02-08 00:11:04    阅读次数:220
pip install
pip install InstallationPython & OS Supportpip works with CPython versions 2.6, 2.7, 3.1, 3.2, 3.3, 3.4 and also pypy.pip works on Unix/Linux, OS X, a...
分类:其他好文   时间:2015-02-06 18:39:55    阅读次数:325
CentOS升级Python2.7及安装pip
CentOS升级Python2.7及安装pip CentOS升级Python2.7及安装pip1) 升级Python2.7?1234567891011121314151617181920212223242526272829303132python -V # 查看版本:Python 2.6.6mkdi...
分类:编程语言   时间:2015-02-06 18:23:16    阅读次数:223
Windows下安装pip管理scikit-learn
最近在研究scikit-learn的开源包,总是遇到scikit-learn包找不到的问题,按照以下步骤问题就解决了,具体步骤如下: 1、  安装python,一般为2.7,网址:https://www.python.org/downloads/ 2、  Python安装distribute:打开windows的cmd,切换到distribute-0.6.36目录. 输入:python set...
分类:Windows程序   时间:2015-02-04 16:35:13    阅读次数:190
解决Command "python setup.py egg_info" failed with error code 1坎坷路
机器:os x 本地想跑一下一个开源django博客应用,下了源码到里头pip install -r requirements.txt 结果屡次出错,Command "python setup.py egg_info" failed with error code 1 试了多次一直于最后一行这个错误。 我开始以为权限问题,setuptools问题 后来有转机了,我把 requiremen...
分类:编程语言   时间:2015-02-04 02:01:58    阅读次数:694
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!