GithubHelp home page GithubHelp logo

plsdr will not start about plsdr HOT 2 OPEN

imesg avatar imesg commented on August 23, 2024
plsdr will not start

from plsdr.

Comments (2)

lutusp avatar lutusp commented on August 23, 2024

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.

imesg avatar imesg commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.