(This question is answerd by myself as I find this worthy of documentation somwhere on the web, as I did not get a straightforward answer by googling and the straightforward thing to do i.e. installing MSVC compiling environment did not solve the problem.) During the installation of gymnasium-2048 I came across this rather persistent error message: ModuleNotFoundError: No module named ‘distutils.msvccompiler A quick google search suggests installing MSVC compiler by Visual Studio Installer, etc. But this alone did not solve the problem. The error message is still the same. Even after restarting and making sure the compiler is installed in its default location (C drive for windows) the error still occurs, suggesting it cannot find a compiler for MSVC somehow. OS: Windows 10 Python: 3.13.0 Continue reading...