Supplement the pits encountered in the configuration two days ago, for fear of stepping on them in the future
Environment version:
python3.6.4
pycharm community edition
Still don't give up and try to click first: File-Settings-python interpreter-click the "+" sign, search for imutils, and try to install it, but it is still unsuccessful.
Go back to the python terminal
enter:
pip install imutils -i http://pypi.douban.com/simple/imutils/ --trusted-host pypi.douban.com
unsuccessful,
Try another mirror image:
pip install imutils -i https://pypi.mirrors.ustc.edu.cn/simple/ --trusted-host pypi.mirrors.ustc.edu.cn
Still unsuccessful.
Add python -m before pip
python -m pip install imutils -i http://pypi.douban.com/simple/imutils/ --trusted-host pypi.douban.com
Still unsuccessful.
Then directly:
python -m pip install imutils
In the end, the installation was successful (no ladders, no references to mirror images.) Comparing Buddha, I don’t understand.