ydataai / ydata-synthetic

Synthetic data generators for tabular and time-series data
https://docs.synthetic.ydata.ai
MIT License
1.45k stars 236 forks source link

[BUG]ModuleNotFoundError: No module named 'ydata' #308

Open Kevin102602 opened 1 year ago

Kevin102602 commented 1 year ago

when i run the streamlit_app, the error appeared

ModuleNotFoundError: No module named 'ydata' Traceback: File "D:\Annoconda\envs\py39\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 541, in _run_script exec(code, module.dict) File "D:\Annoconda\envs\py39\Lib\site-packages\ydata_synthetic\streamlit_app\pages\1_Train_a_synthesizer.py", line 6, in from ydata.sdk.synthesizers import RegularSynthesizer

aquemy commented 11 months ago

Have you install the extra dependencies?

pip install ydata-synthetic[streamlit]

The streamlite extension is installing the SDK (verified on a clean install).

heedoooch commented 3 months ago

install the ydata and ydata-sdk packages, it'll work.