Comments (2)
gnuradio is installed.
Python can do a lot of pretty neat things, but it won't mislead you. If Python says gnuradio is not installed then ... gnuradio is not installed.
Perform this test. Open a command shell and type "python". Now you will see this:
>>
Now type "import gnuradio". If gnuradio is accessible to Python, you won't see an error message. If gnuradio is not accessible to Python, you will see an error message, and the message has no connection to my program.
Also, PLSDR requires Python 2.x, but only because gnuradio requires Python 2.x (I would have used Python 3 if I could have). This might have a bearing on the error you're seeing.
I hope this helps.
from plsdr.
lutusp; I would like to revisit this problem. I use gentoo which allows the installation of several version of python i.e. I have four versions:
gene@go:/usr/src/PLSDR# eselect python list
Available Python interpreters, in order of preference:
[1] python3.6
[2] python3.4
[3] python3.5 (fallback)
[4] python2.7 (fallback)
So I changed all occurances of #!/usr/bin/env python to #!/usr/bin/env python2.7 because all python2.7 stuff is installed like this: /usr/lib64/python2.7/site-packages/osmosdr.
After doing this gnuradio module was found but:
gene@go:/usr/src/PLSDR# ./PLSDR.py
Traceback (most recent call last):
File "./PLSDR.py", line 38, in
import osmosdr
File "/usr/lib64/python2.7/site-packages/osmosdr/init.py", line 26, in
from osmosdr_swig import *
File "/usr/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py", line 17, in
_osmosdr_swig = swig_import_helper()
File "/usr/lib64/python2.7/site-packages/osmosdr/osmosdr_swig.py", line 16, in swig_import_helper
return importlib.import_module('_osmosdr_swig')
File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module
import(name)
ImportError: No module named _osmosdr_swig
All of requirements are installed. Do you have any ideas how I can get this to run?
Thanks
from plsdr.
Related Issues (17)
- v2.0 crashes if no config file HOT 1
- The PLSDR it does not open HOT 2
- RTL SDR v3 dongle is not recognized
- Sdrplay with gnuradio 3.8 + gr-soapy + gr-fospher (Request) HOT 5
- Gnu Radio 3.9 HOT 3
- PLSDR can not start on Pi3B with the latest Pi OS HOT 2
- install_qt5_libary.bat -- still has "python2.7" in it, does not work.
- PLSDR not starting on either Windows OR Ubuntu 22.04 HOT 3
- Selecting RTL-SDR TCP causes a crash HOT 5
- Python 3.10 errors: argument 1 has unexpected type 'float'
- runtime error "gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.4.0"
- audio_alsa_sink error HOT 7
- Support multiple devices of the same type
- Raspberry Pi audio sink topology failure HOT 2
- Python2 deprecated HOT 5
- Crash with SDRPlay HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plsdr.