sudo pip install pyelftools
> Downloading/unpacking pyelftools
> Cannot fetch index base URL https://pypi.python.org/simple/
> Could not find any downloads that satisfy the requirement pyelftools Cleaning up...
> No distributions at all found for pyelftools Storing debug log for> failure in user/.pip/pip.log*
解决方法
sudo pip install pyelftools -i http://pypi.douban.com/simple/
> Downloading/unpacking pyelftools
> http://pypi.douban.com/simple/pyelftools/ uses an insecure transport
> scheme (http). Consider using https if pypi.douban.com has it
> available Downloading pyelftools-0.27-py2.py3-none-any.whl (151kB):
> 151kB downloaded Installing collected packages: pyelftools
> Successfully installed pyelftools Cleaning up...
Cannot fetch index base URL https://pypi.python.org/simple/
错误如下 sudo pip install pyelftools > Downloading/unpacking pyelftools > Cannot fetch index base URL https://pypi.python.org/simple/> Could not find any downloads that satisfy the requirement pyelftools Cleaning up... > No distributions