Skip to content

ModuleNotFoundError("No module named 'packaging'") #844

Closed
@avinashkurup

Description

@avinashkurup

Hi,

I need to use the embed functionality in pgml 2.6+ in PostgreSQL-14, I built from sources for Linux the pgml extension on my ubuntu 20.04 system since the latest version supported in apt repository is pgml 2.1.1. I now face the error:

SQL Error [XX000]: ERROR: called Result::unwrap() on an Err value: PyErr { type: <class 'ModuleNotFoundError'>, value: ModuleNotFoundError("No module named 'packaging'"), traceback: Some(<traceback object at 0x7fa360cba280>) }

I installed the requirement.txt but find the 'packaging' python package missing in it, I installed it in the environment postgresql uses but still face this error.

Please tell me what I'm missing here.

Thank you.

packaging-error-pgml.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions