Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 2.33 KB

File metadata and controls

61 lines (40 loc) · 2.33 KB

FAQ

Español | English

English

How do I fix the "LazBackend.Lazrs is not available" error?

Error message example:

CRITICAL ERROR EXCEPTION: An error occurred during vegetation classification:
The 'LazBackend.Lazrs' is not available
FINAL STATUS: FAILED
Error: The 'LazBackend.Lazrs' is not available

This error occurs when the required LAZ file processing libraries (lazrs and laspy) are not installed in the same Python environment that QGIS uses. Even if you installed them via the OSGeo4W Shell, QGIS may not recognize those installations because it often runs in an isolated Python environment.

Solution: Install the missing libraries directly into QGIS’s Python environment. You can do this by running the following command in the QGIS Python Console.

!pip install lazrs laspy

Alternatively, you can run the following command, adjusting the path according to your version or installation of QGIS.

"C:\Program Files\QGIS 3.44.6\apps\Python312\python.exe" -m pip install lazrs laspy

Once the installation completes, restart QGIS and rerun the tool. The process should now run without errors.

Español

¿Cómo puedo solucionar el error "LazBackend.Lazrs no está disponible"?

Ejemplo del mensaje de error:

CRITICAL ERROR EXCEPTION: An error occurred during vegetation classification:
The 'LazBackend.Lazrs' is not available
FINAL STATUS: FAILED
Error: The 'LazBackend.Lazrs' is not available

Este error ocurre cuando las bibliotecas necesarias para procesar archivos LAZ (lazrs y laspy) no están instaladas en el mismo entorno de Python que utiliza QGIS. Aunque se hayan instalado mediante OSGeo4W Shell, es posible que QGIS no las reconozca porque suele usar un entorno de Python independiente.

Solución: Instala las bibliotecas que faltan directamente en el entorno de Python de QGIS. Puedes hacer esto ejecutando el siguiente comando dentro de la Consola de Python de QGIS.

!pip install lazrs laspy

De manera alternativa, puedes ejecutar el siguiente comando, ajustando la ruta según tu versión o instalación de QGIS.

"C:\Program Files\QGIS 3.44.6\apps\Python312\python.exe" -m pip install lazrs laspy

Una vez completada la instalación, reinicia QGIS y vuelve a ejecutar la herramienta. El proceso debería funcionar sin errores.