Saturday, June 7, 2025

Integrating GRC-Generated Python Code into Python Virtual Environment

Hello all,

I'm currently working on a standalone FM receiver Python application and would like to integrate a GNU Radio Companion (GRC) flow graph—specifically, FM receiver that I've already built and verified to work correctly.

However, I'm unsure about the best approach to use the Python code generated by GRC within a Python virtual environment. My goal is to cleanly integrate the flow graph functionality into my application's codebase, ideally without relying on a system-wide GNU Radio installation.

So far, I've considered a couple of possible options:

  1. Creating symbolic links from my virtual environment to the system-installed GNU Radio libraries and Python modules.

  2. Using Conda to install GNU Radio directly within a self-contained environment, avoiding the need for system-wide dependencies.

Before I go too far down either path, I wanted to ask you guys. 

No comments:

Post a Comment