Hi there,
I’m trying to build DNEG’s xStudio app, but at the configuration step, am getting the following err:r `Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
蝟餌絞?曆??唳?摰?瑼???
CMake Error at CMakeLists.txt:158 (message):
Failed to ensurepip.
Configuring incomplete, errors occurred!`
When I open the CMakeLists.txt (this is provided as part of the source code here), it looks like CMake shouldn’t even be running this line (USE_VCPKG is not checked, so the FATAL_ERROR “Failed to ensurepip” I would assume not to appear). Is there another step I’m doing wrong?
I have ran into this error and a few more that you are likely to run into and it took me days to fix them. Now I’m done the CMake errors and struggling with VS build error.
So for this error in particular, I managed to solve it by manually installing Python 3.10 (3.12 also worked for me) in \build\vcpkg_installed\x64-windows\tools\Python3
If you run into errors relating to opencolorio or lcms2, let me know
Hi all,
i have the same problem but I cannot fix it.
the error report on console of CMake is:
Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
C:\Users\User\Desktop\XStudio\xstudio-windows\build\vcpkg_installed\x64-windows\tools\python3\python.exe: No module named ensurepip
CMake Error at CMakeLists.txt:158 (message):
Failed to ensurepip.
Hey, I mentioned this in my last reply and it solved the “Failed to ensurepip” error for me.
So for this error in particular, I managed to solve it by manually installing Python 3.10 (3.12 also worked for me) in \build\vcpkg_installed\x64-windows\tools\Python3
Thanks! Had the same issue and installing Python manually fixed that error for me. But now I’m getting a new one:
CMake Error at CMakeLists.txt:176 (find_package):
Could not find a package configuration file provided by "nlohmann_json"
with any of the following names:
nlohmann_jsonConfig.cmake
nlohmann_json-config.cmake
Add the installation prefix of "nlohmann_json" to CMAKE_PREFIX_PATH or set
"nlohmann_json_DIR" to a directory containing one of the above files. If
"nlohmann_json" provides a separate development package or SDK, be sure it
has been installed.
No worries. You might have to manually set “nlohmann_json_DIR” in cmake. I haven’t run into this error myself but I’ve been fixing similar errors by manually setting the folder path.
Are there any errors prior to this one? Besides the Python error.
Also, after installing python, have you tried deleting the cache and hitting “configure” again?