Skip to content

package-analysis error during django analysis #1093

@r0075h3ll

Description

@r0075h3ll

Hi there,

Tried to run scripts/run_analysis.sh -ecosystem pypi -package Django i.e. mentioned in the README itself. But, the analysis is stuck halfway, giving this output in the logs:

2025-01-04T15:39:47.480Z        WARN    log/writer.go:62        django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.8.0", "gdal3.7.0", "gdal3.6.0", "gdal3.5.0", "gdal3.4.0", "gdal3.3.0", "gdal3.2.0", "gdal3.1.0", "gdal3.0.0"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.       {"command": "/usr/local/bin/analyze-python.py", "args": ["--version", "5.1.4", "import", "django"], "ecosystem": "pypi", "name": "django", "version": "5.1.4", "mode": "dynamic", "phase": "import"}

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions