ImportError: cannot import name ‘check_argument_types‘ from ‘typeguard’

这个错误是因为typeguard 库的版本问题。

typeguard 3.0版本中check_argument_types 已被移除,更改 typeguard==2.13.3 即可。

卸载typeguard

pip uninstall typeguard

重新安装2.13.3版本 

pip install typeguard==2.13.3

猜你喜欢

转载自blog.csdn.net/qq_40276082/article/details/130562528