pip install 安裝包名稱 -i https://pypi.tuna.tsinghua.edu.cn/simple
例如:
pip install tensorflow-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple
將國外源換成清華源,會快很多。
pip install 安裝包名稱 -i https://pypi.tuna.tsinghua.edu.cn/simple
例如:
pip install tensorflow-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple
將國外源換成清華源,會快很多。
class MetaCls(type): def __new__(cls, *args, **kwargs): print("in MetaCls") # return super(Meta