File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -329,6 +329,40 @@ Further information on how to use lightweight Python
329329virtualization environments can be found at
330330https://docs.python.org/3/library/venv.html.
331331
332+ Windows troubleshooting
333+ ***********************
334+
335+ It is possible that the ``cmake `` command may not be accessible from the MSYS2 shell:
336+
337+ .. code-block :: console
338+
339+ cmake -GNinja .
340+ bash: cmake: command not found
341+
342+ The problem may be due to the MSYS2 PATH missising cmake installation folder.
343+ If the cmake works correctly from the Win Command Prompt then edit the msys2_shell.cmd
344+ and check if a PATH inherit option is enabled:
345+
346+ .. code-block :: bash
347+
348+ set MSYS2_PATH_TYPE=inherit
349+
350+
351+ Another issue that may occur is the ``sphinx-build `` command not found:
352+
353+ .. code-block :: bash
354+
355+ make html
356+ make: sphinx-build: Command not found
357+ make: *** [Makefile:36: html] Error 127
358+
359+ If the above error occurs both in Win Command Prompt and in the MSYS2 shell
360+ then the python sphinx package need to be updated:
361+
362+ .. code-block :: bash
363+
364+ pip install -U sphinx
365+
332366 Diagram compilation troubleshooting
333367***********************************
334368
You can’t perform that action at this time.
0 commit comments