Screenshot of the problem:
Reason for analysis: The connection timed out and the installation package could not be downloaded
Solution: Solution: pip install ddt -i http://pypi.douban.com/simple --trusted-host pypi.douban.com (where ddt is the library you need to download, change according to your actual needs)