Skip to content

Conversation

HeaIn
Copy link

@HeaIn HeaIn commented Jul 11, 2024

ImportError: cannot import name 'Literal' from 'typing' occurs when installing SDFstudio in Python3.7.

The error occurs because tying.Literal is only available from Python3.8 and up.

It is stated that SDFstudio requires python >= 3.7 in README.md, so I fixed some codes to use Literal in older Python versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant