[root@fendou dddd]# hg pull -u
*** failed to import extension configexpress: No module named configexpress
pulling from ssh://hg@135.252.100.100/ouou/test
searching for changes
no changes found
remote: this server recommends using the ‘configexpress’ extension
=====================================
This extensions is available on Pypi. You can install it using:
pip install --user hg-configexpress
#Configuration
Configure your .hgrc to enable the extension by adding following lines:
[extensions]
configexpress =
=====================================
Linux安装pip命令
1、报错内容
#pip
-bash: pip: 未找到命令
或者
-bash: pip: command not found
2、解决办法
1)如果没有epel源下载阿里的epel源
#wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
2)安装pip
#yum -y install python-pip
3、验证
#pip -V
pip 8.1.2 from /usr/lib/python2.7/site-packages (python 2.7)
#List installed packages, including editables.
#pip list
=====================================
#在使用python的时候,需要下载各种各样的库,于是就需要一个下载库的管理工具,所以就需要在我们的linux上下载pip帮助我们管理库
#curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
#注意:安装过程需要root权限
#python3 get-pip.py
#试试是否安装成功
#pip install paramiko
#测试新库能否使用
xxx@xxx-PC:~/Downloads/pip-1.5.5$ python3
Python 3.6.2 (default, Jul 17 2017, 13:39:29)
[GCC 6.4.0 20170704] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
输入:import paramiko