用pip 安装 python-consul
2016-07-04 11:10
453 查看
1.安装 pip
下载 py文件wget https://bootstrap.pypa.io/get-pip.py
安装
python get-pip.py
下面参考如下: https://pip.pypa.io/en/stable/installing/ 如果不安装
setuptools 和 wheel 加入下面参数
--no-setuptools
If set, don't attempt to install
setuptools
--no-wheel
If set, don't attempt to install
wheel
Install from local copies of pip and setuptools:
python get-pip.py --no-index --find-links=/local/copies
Install to the user site
[4]:
python get-pip.py --user
Install behind a proxy:
python get-pip.py --proxy="[user:passwd@]proxy.server:port"
Upgrading pip
On Linux or OS X:pip install -U pip
On Windows
[5]:
python -m pip install -U pip
--------------------------------------------------------------------
2.安装 python-consul
# pip install python-consul
相关文章推荐
- Python动态类型的学习---引用的理解
- Python3写爬虫(四)多线程实现数据爬取
- 垃圾邮件过滤器 python简单实现
- 下载并遍历 names.txt 文件,输出长度最长的回文人名。
- install and upgrade scrapy
- install scrapy with pip and easy_install
- Scrapy的架构介绍
- Centos6 编译安装Python
- 使用Python生成Excel格式的图片
- 让Python文件也可以当bat文件运行
- [Python]推算数独
- Python中zip()函数用法举例
- Python中map()函数浅析
- Python将excel导入到mysql中
- Python在CAM软件Genesis2000中的应用
- 使用Shiboken为C++和Qt库创建Python绑定
- FREEBASIC 编译可被python调用的dll函数示例