categories | description | tags | ||||||
---|---|---|---|---|---|---|---|---|
|
Learn how to install the Dria SDK in Python, including setup, network notes, and troubleshooting common issues on MacOS. |
|
Dria SDK is compatible with Python 3.10 or higher. Start by creating a new conda env:
conda create -n dria python=3.10
conda activate dria
Then to install the SDK, simply run the following command in your terminal:
pip install dria
If you are having problems with installing coincurve, try installing coincurve separately :
pip3 install --upgrade pip3
pip3 install wheel
pip3 install coincurve
and install dria package by:
pip install --upgrade dria
If issues persist, see section
-
Network Status: The Dria Network is currently in alpha stage. Access is managed through RPCs to ensure controlled access and trusted task execution.
-
Cost: At present, there is no cost associated with generating data using Dria.
-
Contributing: You can contribute to the Dria ecosystem by running a node in the Dria network. This helps scale the network and improve throughput.
Once you have your RPC token, you're ready to start using the Dria SDK. Check out the examples from cookbook (e.g. Patient Dialogues) or see pipelines to learn how to create your first synthetic data pipeline.
In some python versions on MacOS
tkinter is no longer included with this formula, but it is available separately:
brew install python-tk@<version>
and as a result, you may encounter the warning
ModuleNotFoundError: No module named ‘_tkinter’
you can see the error.
In these cases, you should install python installation as the system recommends.
brew install python-tk@<version>
as follows.
If you are having problems with coincurve
Try installing brew
and xcode tools
xcode-select --install
Install brew by:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
and run:
brew install automake libtool pkg-config
re create env
conda create -n dria_new python=3.10
conda activate dria_new
Seperately install coincurve:
pip3 install --upgrade pip3
pip3 install wheel
pip3 install coincurve
Install dria:
pip install dria
If you are still facing issues, please reach out to us at Discord for further assistance.