# Soapy for XTRX

**URL:** <https://discourse.myriadrf.org/t/soapy-for-xtrx/8449>\
**Category:** Lime Suite\
**Created:** [19 August 2024 15:15 UTC](https://discourse.myriadrf.org/t/soapy-for-xtrx/8449 "2024-08-19T15:15:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgs0001](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@dgs0001](https://discourse.myriadrf.org/u/dgs0001)\
**Post date:** [19 August 2024 15:15 UTC](https://discourse.myriadrf.org/t/soapy-for-xtrx/8449/1 "2024-08-19T15:15:04Z")

</div>

I installed latest LimeSuite NG and was able to run “SoapySDRUtil --info”, but when I tried to run the following Python code, I got the following error. What do I need to run the Python code for Soapy SDR? Thanks in advance for help.

python3  
Python 3.8.10 (default, Jul 29 2024, 17:02:10)  
[GCC 9.4.0] on linux  
Type “help”, “copyright”, “credits” or “license” for more information.

> > > import SoapySDR  
> > > Traceback (most recent call last):  
> > > File “”, line 1, in   
> > > ModuleNotFoundError: No module named ‘SoapySDR’

---

<div class="post-metadata">

**Author:** ![ricardas](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/ricardas/32/86_2.png) [@ricardas](https://discourse.myriadrf.org/u/ricardas)\
**Post date:** [19 August 2024 15:58 UTC](https://discourse.myriadrf.org/t/soapy-for-xtrx/8449/2 "2024-08-19T15:58:09Z")

</div>

You should check if your python is looking in the right directories where SoapySDR is installed: [ImportError: No module named 'SoapySDR' · Issue #143 · pothosware/SoapySDR · GitHub](https://github.com/pothosware/SoapySDR/issues/143#issuecomment-338331545)

---

<div class="post-metadata">

**Author:** ![dgs0001](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@dgs0001](https://discourse.myriadrf.org/u/dgs0001)\
**Post date:** [20 August 2024 16:30 UTC](https://discourse.myriadrf.org/t/soapy-for-xtrx/8449/3 "2024-08-20T16:30:23Z")

</div>

It’s strange that I found SoapySDR was installed under “/usr/local/lib”. I copied the folder to “/usr/local/lib/python3.8/dist-packages” and was able to import it to Python.
