Known Issue: Some users have reported that they can successfully install the SDGym library but as soon as they try to import the sdgym module, there is an error.
Example
Installation happens successfully
pip install sdgym
There is an error when importing
>>> import sdgym
ImportError: cannot import name 'Metadata' from 'sdv' (/usr/local/lib/python3.10/dist-packages/sdv/__init__.py)
This is happening due to library dependency issues and the team is actively working on this!
How to fix the issue? (Workaround)
In the meantime, you can fix this problem by downgrading your version of SDV following the code below.
pip install sdv==0.18.0
If you're using a notebook, be sure to restart the Kernel after this downgrade.
Known Issue: Some users have reported that they can successfully install the SDGym library but as soon as they try to import the
sdgym
module, there is an error.Example
Installation happens successfully
There is an error when importing
This is happening due to library dependency issues and the team is actively working on this!
How to fix the issue? (Workaround)
In the meantime, you can fix this problem by downgrading your version of SDV following the code below.
If you're using a notebook, be sure to restart the Kernel after this downgrade.