I have a python script to use, but I use the 3.10 version on my system so my imports are having problems. To name one, Numpy is complaining to check the installation version of python. So I want to change the Python version that UE uses, but the recommended way on the document: Scripting the Unreal Editor Using Python | Unreal Engine 5.0 Documentation doesn’t work. I’ve also tried adding this to init_unreal.py:
sys.path.remove('C:\\Program Files\\Epic Games\\UE_5.0\\Engine\\Binaries\\ThirdParty\\Python3\\Win64\\python39.zip')
sys.path.insert(0, "C:\\Users\\qwer\\scoop\\apps\\python\\current\\python310.zip")
sys.path.append("C:\\Users\\qwer\\scoop\\apps\\python\\current\\DLLs")
sys.path.append("C:\\Users\\qwer\\scoop\\apps\\python\\current\\lib")
sys.path.append("C:\\Users\\qwer\\scoop\\apps\\python\\current")
sys.path.append("C:\\Users\\qwer\\scoop\\apps\\python\\current\\lib\\site-packages")
It didn’t help either. What should I do?