sdfstudio icon indicating copy to clipboard operation
sdfstudio copied to clipboard

fix 'typing' to 'typing_extensions' for python3.7

Open HeaIn opened this issue 1 year ago • 0 comments

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.

HeaIn avatar Jul 11 '24 02:07 HeaIn