Skip to content

No module named 'packaging' #11

@Harsh-br0

Description

@Harsh-br0

Traceback

Traceback (most recent call last):
  File "C:\Users\Harsh\Desktop\test\k.py", line 1, in <module>
    import function_schema
  File "C:\Users\Harsh\Desktop\test\avenv\lib\site-packages\function_schema\__init__.py", line 4, in <module>
    from .core import get_function_schema, guess_type, Doc, Annotated
  File "C:\Users\Harsh\Desktop\test\avenv\lib\site-packages\function_schema\core.py", line 4, in <module>
    import packaging.version
ModuleNotFoundError: No module named 'packaging'

Steps to Reproduce

  • Install the package with pip install function-schema .
  • Run the following
import function_schema

I think this is very trivial problem and probably will submit a PR too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions