1、安裝配置好python環境,我安裝的是Python 2.7.14
2、Python 2.7.10版本以上的默認有安裝 pip,路徑爲C:\Python27\Scripts\pip.exe
3、在cmd 命令行中輸入C:\Python27\Scripts\pip.exe install xx(需要安裝的包),enter。
4、運行之後開始下載安裝。
1、安裝配置好python環境,我安裝的是Python 2.7.14
2、Python 2.7.10版本以上的默認有安裝 pip,路徑爲C:\Python27\Scripts\pip.exe
3、在cmd 命令行中輸入C:\Python27\Scripts\pip.exe install xx(需要安裝的包),enter。
4、運行之後開始下載安裝。
class MetaCls(type): def __new__(cls, *args, **kwargs): print("in MetaCls") # return super(Meta