sdv-dev / SDGym

Benchmarking synthetic data generation methods.
Other
259 stars 59 forks source link

ImportError: cannot import name 'Metadata' from 'sdv' #243

Closed kiransview closed 1 year ago

kiransview commented 1 year ago

Environment Details

Please indicate the following details about the environment in which you found the bug:

Error Description

While i execute the below command import sdgym print(sdgym.version)

getting the error as mentioned in subject with the SDV init python file

npatki commented 1 year ago

Hi @kiransview, thanks for reporting.

This seems to be due to the (known) issue #246. Give that a read and let me know if it solves the error.

BTW in order to get the version, you will need to copy the code exactly as shown in the documentation. Note that there are two underscores before and after the word version.

print(sdgym.__version__)
npatki commented 1 year ago

Hi @kiransview, we just released a new version of SDGym 0.7.0, which should fix the issue.

Please upgrade your SDGym library and let us know if you are still encountering this problem. (Feel free to reply here and we will reopen the issue to investigate.)