Skip to content

bug: ModuleNotFoundError: No module named 'typing_extensions' #14

@jmp75

Description

@jmp75

Repro

installed a fullcam python package uv pip install -e. This used cached cinterop and refcount as dependencies.

Using in a notebook, stack trace below. cinterop and/or refcount may be missing a python package dependency. This is rather unexpected given unit test coverage, but here it is. To be investigated.

File ~/src/fullcam-simulator-py/src/fullcam_simulator/__init__.py:9
      6 from __future__ import annotations
      8 from fullcam_simulator._internal.cli import get_parser, main
----> [9](https://file+.vscode-resource.vscode-cdn.net/home/per202/src/loocc/refactor/~/src/fullcam-simulator-py/src/fullcam_simulator/__init__.py:9) from fullcam_simulator._internal.wrap.fcsim_wrap_custom import (
     10     load_cam_parameters,
     11     load_scenarios,
     12     set_root_data,
     13 )
     15 __all__: list[str] = [
     16     "get_parser",
     17     "main",
   (...)     20     "set_root_data",
     21 ]

File ~/src/fullcam-simulator-py/src/fullcam_simulator/_internal/wrap/fcsim_wrap_custom.py:13
      7 import numpy as np
      9 # if TYPE_CHECKING:
     10 #     from fullcam_simulator.classes import (
     11 #         CandidateFactorySeed,
     12 #     )
---> [13](https://file+.vscode-resource.vscode-cdn.net/home/per202/src/loocc/refactor/~/src/fullcam-simulator-py/src/fullcam_simulator/_internal/wrap/fcsim_wrap_custom.py:13) from cinterop.cffi.marshal import as_charptr
     15 # import fullcam_simulator._internal.wrap.fcsim_wrap_generated as swg

Metadata

Metadata

Assignees

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