天天看點

failed to import extension configexpress: No module named configexpress in mercurial

[[email protected] dddd]# hg pull -u

*** failed to import extension configexpress: No module named configexpress

pulling from ssh://[email protected]/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

#測試新庫能否使用

[email protected]:~/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

SCM