sdv-dev / SDV

Synthetic data generation for tabular data
https://docs.sdv.dev/sdv
Other
2.32k stars 305 forks source link

Missing modules for latest version 1.1.0 #1422

Closed MajidAdams closed 1 year ago

MajidAdams commented 1 year ago

Environment Details

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

Error Description

First time installation of sdv, and I installed the version v1.1.0. I was trying to generate tabular data with it but it keeps giving the error "ModuleNotFoundError: No module named 'sdv.tabular'". I also checked the directory and found out it was incomplete, only found the special methods/attributes. See screenshot below.

Steps to reproduce

pip install sdv on an environment that has never had sdv installed on it. Then import CTGAN from sdv.tabular

!pip install sdv
from sdv.tabular import CTGAN

Screenshot (80)

npatki commented 1 year ago

Hi @MajidAdams, nice to meet you. Can you point me to which documentation you are referring to that is telling you to do this?

from sdv.tabular import CTGAN
npatki commented 1 year ago

Hi @MajidAdams are you still running into this problem?

A ModuleNotFound error typically indicates an issue with installation or usage. In this case, the code you are using

from sdv.tabular import CTGAN

Is old code for older versions of the SDV. Please see the recent SDV documentation for recent code.

PS. In the new website, we have also added a Troubleshooting section that you can browse through.

I'll close this issue since it's been a few weeks . If you are still having problems, feel free to reply and I can reopen the issue.