cannot import name ‘Concatenate‘ from ‘typing_extensions‘

今天在进行项目代码编写的时候出现了以下错误,无法导入的问题

当时正在使用Python 3.8.3。我尝试了typing_extensions-4.3.0和-3.7.4,它们都不起作用。

cannot import name ‘Concatenate‘ from ‘typing_extensions‘_第1张图片

后来尝试了命令pip install -U typing_extensions,随后就可以了,希望对您有所帮助

你可能感兴趣的:(python学习,图像处理,python)