直接在setup.py的同目录放置一个setup.cfg:
加上

[easy_install]
index_url = https://mirrors.aliyun.com/pypi/simple/

我这里是阿里源,具体是个人情况选择pip源

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐