agronholm / typeguard

Run-time type checker for Python
Other
1.5k stars 112 forks source link

ModuleNotFoundError: No module named 'typing_extensions' #444

Closed njzjz closed 5 months ago

njzjz commented 5 months ago

Things to check first

Typeguard version

4.2.0

Python version

3.12.2

What happened?

  File "/home/runner/work/dargs/dargs/dargs/dargs.py", line 32, in <module>
    import typeguard
  File "/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/typeguard/__init__.py", line 4, in <module>
    from ._checkers import TypeCheckerCallable as TypeCheckerCallable
  File "/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/typeguard/_checkers.py", line 49, in <module>
    from typing_extensions import is_typeddict
ModuleNotFoundError: No module named 'typing_extensions'

log

How can we reproduce the bug?

import typeguard