Installation
SDV is a public, source-available Python library for generating and evaluating synthetic data. You can download and use it under the Business Source License.
- We recommend using a virtual environment (such as virtualenv) to avoid conflicts with other software on your device
To verify that you have installed the SDV correctly, check your version using the following code:
import sdv
print(sdv.__version__)
Below, you'll see some guidance for commonly encountered errors.
Are you using a Google Colab notebook? Sometimes Google Colab comes with different default libraries than the ones that SDV requires. Generally, you can ignore the printed errors.
In the top menu bar, click Runtime and then Restart runtime. After this, you can continue running the rest of your code.
This error indicates that there are conflicting requirements in the Python libraries you are trying to install. You are likely to encounter this if you already have libraries installed in your environment.
To prevent conflicts, we recommend using a virtual environment (such as virtualenv). Ensure that you have the correct Requirements and try the installation again in a fresh Python environment dedicated to the SDV.
These errors may indicate a problem with installation or usage. To debug this, start by verifying that you have the latest SDV version.
import sdv
print(sdv.__version__)
Installation problems: If this code produces an error or if the version is old, then the newest SDV is not properly installed. Ensure that you have the correct Requirements and try the installation again in a fresh Python environment.
Usage problems: If everything looks ok, then ensure that you are using the correct API and spelling. Starting from version
1.0.0
, some modules now use different names. Browse this website to see the latest API.For other problems, please visit our GitHub. You can browse existing issues and raise a new one if you cannot find a solution.
Last modified 1mo ago