Como solucionar error CMake: wxPython/Phoenix does not appear to be installed on the system
Problema
Al intentar compilar software usando CMake, ves un mensaje de error como:
cmake_wxpython_error.txt
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'wx'
CMake Error at cmake/FindwxPython.cmake:56 (message):
wxPython/Phoenix does not appear to be installed on the system
Call Stack (most recent call first):
CMakeLists.txt:1004 (find_package)Solucion
CMake basicamente verifica si tienes el paquete Python wx instalado.
Para instalarlo, usa
install_wxpython.sh
pip install --user --break-system-packages wxpythonSi eso no funciona, verifica si tienes multiples versiones de Python instaladas
Si este artículo te ha ayudado, considera invitarme a un café o hacer una donación vía PayPal para apoyar la investigación y publicación de nuevos artículos en TechOverflow