Skip to content

Version 2024.12.0 gives this error: ImportError: cannot import name 'Literal' from 'typing' #482

@SaulBurgos

Description

@SaulBurgos

Today my vs code extension was updated automatically and I got this error.

Sadly I am working on a legacy system that needs: python 3.7.16.

Error

Image

Update that gave me the error

Image

Solution

My solution was to go back to the previous version 2024.10.0
Image

Metadata

Metadata

Assignees

Labels

triage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions