ydataai / ydata-synthetic

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

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

Open Kevin102602 opened 9 months ago

Kevin102602 commented 9 months 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 7 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).