用pip安装ddt模块报错:Could not find a version that satisfies the requirement ddt(from version:)

方式一、在cmd命令里安装

 

 

使用国内的镜像源来加速:pip install ddt -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

 

 

方式二、在pycharm--Terminal里安装

 

 

 

 

 

posted @ 2020-12-17 10:02  多米多乐  阅读(826)  评论(0)    收藏  举报