更換下載源,網上推薦使用豆瓣下載源
例如:pip install --index-url https://pypi.douban.com/simple 模塊名
比如,我要下載pandas的庫,可在cmd窗口輸入如下命令:
pip install --index-url https://pypi.douban.com/simple pandas
更換下載源,網上推薦使用豆瓣下載源
例如:pip install --index-url https://pypi.douban.com/simple 模塊名
比如,我要下載pandas的庫,可在cmd窗口輸入如下命令:
pip install --index-url https://pypi.douban.com/simple pandas
class MetaCls(type): def __new__(cls, *args, **kwargs): print("in MetaCls") # return super(Meta