UE 的 Python 插件其实就是调用内置的 pip,你可以提前在 UE 的 Python 环境里设置国内源。
1.找到 UE 自带的 Python 目录,类似[UE安装目录]\Engine\Binaries\ThirdParty\Python3\Win64
2.直接在目录下运行CMD,或者cd "[UE安装目录]\Engine\Binaries\ThirdParty\Python3\Win64"
3.更改为清华源的命令行:python.exe -m pip config set global.index-url
https://pypi.tuna.tsinghua.edu.cn/simple(确保UE安装目录对的,下面有一个python.exe)
阿里源:
python.exe -m pip config set global.index-url
https://mirrors.aliyun.com/pypi/simple4.重新打开UE即可