A
ashley-towns
244cc7d849
All checks were successful
Build Sphinx Docs Set / Build Docs (pull_request) Successful in 22s
Build Project / Build Project (3.10) (pull_request) Successful in 1m4s
Build Project / Build Project (3.11) (pull_request) Successful in 56s
Build Project / Build Project (3.12) (pull_request) Successful in 57s
Build Project / Build Project (3.14) (pull_request) Successful in 1m19s
Test with tox / Test with tox (3.11) (pull_request) Successful in 6m43s
Test with tox / Test with tox (3.10) (pull_request) Successful in 17m23s
Test with tox / Test with tox (3.12) (pull_request) Successful in 11m29s
Test with tox / Test with tox (3.14) (pull_request) Successful in 1m50s
159 lines
5.3 KiB
ReStructuredText
159 lines
5.3 KiB
ReStructuredText
Installation
|
||
============
|
||
|
||
RIA Hub Toolkit OSS can be installed either as a Conda package or as a standard Python package.
|
||
|
||
Please note that SDR drivers must be installed separately. Refer to the relevant guide in the
|
||
:ref:`SDR Guides <sdr_guides>` section of the documentation for additional setup instructions.
|
||
|
||
Common driver packages by device (exact package names depend on your OS):
|
||
|
||
.. list-table::
|
||
:widths: 25 75
|
||
:header-rows: 1
|
||
|
||
* - Device
|
||
- Driver Package
|
||
* - USRP
|
||
- UHD drivers
|
||
* - Pluto
|
||
- libiio / IIO utilities
|
||
* - BladeRF
|
||
- libbladeRF
|
||
* - HackRF
|
||
- libhackrf
|
||
* - RTL-SDR
|
||
- librtlsdr
|
||
|
||
We want your experience with RIA Toolkit OSS to be as smooth and frictionless as possible. If you run into any
|
||
issues during installation, please reach out to our support team: ``support@qoherent.ai``.
|
||
|
||
Installation with Conda (recommended)
|
||
-------------------------------------
|
||
|
||
Conda packages for RIA Toolkit OSS are available on the RIA Hub
|
||
`here <https://riahub.ai/qoherent/-/packages/conda/ria-toolkit-oss>`_.
|
||
|
||
RIA Toolkit OSS can be installed into any Conda environment. However, it is recommended to install within the base environment of
|
||
`Radioconda <https://github.com/radioconda/radioconda-installer>`_, which includes `GNU Radio <https://www.gnuradio.org/>`_ and several pre-configured libraries for
|
||
common SDR devices. Detailed instructions for installing and setting up Radioconda are available in the project README.
|
||
|
||
Please follow the steps below to install RIA Toolkit OSS using Conda:
|
||
|
||
1. Before installing RIA Toolkit OSS into your Conda environment, update the Conda package manager:
|
||
|
||
.. code-block:: bash
|
||
|
||
conda update --force conda
|
||
|
||
This ensures that the Conda package manager is fully up-to-date, allowing new or updated packages to be installed into the base environment without conflicts.
|
||
|
||
2. Add RIA Hub to your Conda channel configuration:
|
||
|
||
.. code-block:: bash
|
||
|
||
conda config --add channels https://riahub.ai/api/packages/qoherent/conda
|
||
|
||
3. Activate your Conda environment and install RIA Toolkit OSS. For example, with Radioconda:
|
||
|
||
.. code-block:: bash
|
||
|
||
conda activate base
|
||
conda install ria-toolkit-oss
|
||
|
||
4. After installing RIA Toolkit OSS, verify that the installation was successful by running:
|
||
|
||
.. code-block:: bash
|
||
|
||
conda list
|
||
|
||
If installation was successful, you should see a line item for `ria-toolkit-oss`:
|
||
|
||
.. code-block:: bash
|
||
|
||
ria-toolkit-oss <version> <build> https://riahub.ai/api/packages/qoherent/conda
|
||
|
||
Installation with pip
|
||
---------------------
|
||
|
||
RIA Toolkit OSS is available as a standard Python package on both RIA Hub
|
||
`here <https://riahub.ai/qoherent/-/packages/pypi/ria-toolkit-oss>`_ and PyPI
|
||
`here <https://pypi.org/project/ria-toolkit-oss/>`_.
|
||
|
||
These packages can be installed into a standard Python virtual environment using
|
||
`pip <https://pip.pypa.io/en/stable/>`_. For help getting started with Python virtual
|
||
environments, please refer to the following tutorial:
|
||
`Python Virtual Environments <https://www.w3schools.com/python/python_virtualenv.asp>`_.
|
||
|
||
The core package supports Python 3.10 through 3.14, including the default Python 3.14
|
||
interpreter on Ubuntu 26.04. Python 3.10–3.12 environments retain NumPy 1.26.4 for
|
||
Radioconda compatibility; Python 3.13–3.14 environments use a compatible NumPy 2 release.
|
||
|
||
Please follow the steps below to install RIA Toolkit OSS using pip:
|
||
|
||
1. Create and activate a Python virtual environment:
|
||
|
||
On Linux/macOS:
|
||
|
||
.. code-block:: bash
|
||
|
||
python3 -m venv venv
|
||
source venv/bin/activate
|
||
|
||
On Windows (Command Prompt):
|
||
|
||
.. code-block:: doscon
|
||
|
||
python -m venv venv
|
||
venv\Scripts\activate
|
||
|
||
2. Upgrade pip and install RIA Toolkit OSS:
|
||
|
||
.. code-block:: bash
|
||
|
||
pip install --upgrade pip
|
||
pip install ria-toolkit-oss
|
||
|
||
3. Verify the CLI is available:
|
||
|
||
.. code-block:: bash
|
||
|
||
ria --help
|
||
|
||
A successful install prints the top-level help text. ``pyproject.toml`` registers two
|
||
entrypoints — ``ria`` and ``ria-tools`` — that both point to the same CLI module.
|
||
|
||
RIA Toolkit OSS can also be installed from RIA Hub. However, RIA Hub does not yet support a proxy or cache for public packages.
|
||
We intend to add this missing functionality soon. In the meantime, please use the ``--no-deps`` option with pip to skip automatic
|
||
dependency installation, and then manually install each dependency afterward.
|
||
|
||
|
||
Installation from source
|
||
------------------------
|
||
|
||
Finally, RIA Toolkit OSS can be installed directly from the source code.
|
||
This approach is only recommended if you require an unpublished or development version of the project.
|
||
Follow the steps below to install RIA Toolkit OSS from source:
|
||
|
||
1. Clone the repository. For example:
|
||
|
||
.. code-block:: bash
|
||
|
||
git clone https://riahub.ai/qoherent/ria-toolkit-oss.git
|
||
|
||
2. Navigate into the project directory:
|
||
|
||
.. code-block:: bash
|
||
|
||
cd ria-toolkit-oss
|
||
|
||
3. Install with pip:
|
||
|
||
.. code-block:: bash
|
||
|
||
python -m pip install --upgrade pip
|
||
pip install .
|
||
|
||
For local development, use ``pip install -e .`` instead to install in editable mode
|
||
so local changes take effect immediately without reinstalling.
|