Closed SIGCHIAN closed 4 years ago
This generally happens if you have multiple versions of python installed, and a package is installed in one pip but not the other. Any particular reason you aren't using the pre-built windows build?
@SIGCHIAN What exactly is the context of that error. I'm assuming you try to build PX4 but you are not using the Cygwin Toolchain which this repository is for since the path D:/Program Files (x86)/CMake/share/cmake-3.15/
tells me you're running a native installation of cmake without installing and/or running the Cygwin environment that is supported with this toolchain. Here's the documentation: http://dev.px4.io/master/en/setup/dev_env_windows.html The toolchain that is supported and hosted through this repository is the "Cygwin Toolchain".
Please provide more details in case I misunderstood or follow the guide if you try to use the Cygwin Toolchain.
Since there was no follow-up to the suggestions and questions I'm closing this issue. If it's unsolved please feel free to reopen and provide further details.
Cannot find jinja2. pip does not work. I tried manually install jinja2 using pip but still get the same error.
CMake Error at D:/Program Files (x86)/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message): couldn't find python module jinja2:
for debian systems try:
or for all other OSs/debian:
(missing: PY_JINJA2) Call Stack (most recent call first): D:/Program Files (x86)/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cmake/px4_find_python_module.cmake:61 (find_package_handle_standard_args) CMakeLists.txt:276 (px4_find_python_module)
-- Configuring incomplete, errors occurred! See also "D:/PIXHAWKSource/Codes/Firmware/build/px4_sitl_default/CMakeFiles/CMakeOutput.log". rm: cannot remove directory `/d/PIXHAWKSource/Codes/Firmware/build/px4_sitl_default': Permission denied make: *** [px4_sitl] Error 1