Re: [Discuss-gnuradio] "from gnuradio import gr" fails with a Fatal Python error

2016-11-21 Thread Michael Dickens
Glad that you are getting GR working on your Mac. If you want to make sure "which python" results in a MacPorts version, use "port select": {{{ port select --list python }}} will list the options; mine are: {{{ % port select --list python Available versions for python: none

Re: [Discuss-gnuradio] "from gnuradio import gr" fails with a Fatal Python error

2016-11-21 Thread Gilad Beeri (ApolloShield)
Hi, Seems like you got it. I'm writing here analysis and fixing steps for future generations. 1. Reproduce the problem by running 'python -c "from gnuradio import gr' - that should crash and print the error 2. Running "which python" should show the python binary used, most probably /us

Re: [Discuss-gnuradio] "from gnuradio import gr" fails with a Fatal Python error

2016-11-21 Thread Michael Dickens
Hi Gilad - IIRC this error means that Python installs are being mixed between linking and runtime. For example, linking against the macOS provided Python and then trying to use MacPorts' Python for runtime execution. If this statement doesn't help, email me off-list & we'll work through your issue.

[Discuss-gnuradio] "from gnuradio import gr" fails with a Fatal Python error

2016-11-21 Thread Gilad Beeri (ApolloShield)
Hi, The Python statement "from gnuradio import gr" crashes the Python process with "Fatal Python error: PyThreadState_Get: no current thread" (mac OS 10.12.1, GNU Radio 3.7.10.1 using Mac Ports, full log is attached). I tried following the cleanup process detailed in https://github.com/metacollin/

Re: [Discuss-gnuradio] "from gnuradio import gr"

2005-07-11 Thread Eric Blossom
On Mon, Jul 11, 2005 at 02:09:25PM -0700, Charles Chen wrote: > Hi All, > > I have everything installed and was trying to run > ./usrp_oscope.py according to the instructions at > http://comsec.com/wiki?UsrpInstall . However, I get an > error when I try to run the file. > > from gnuradio_sw

[Discuss-gnuradio] "from gnuradio import gr"

2005-07-11 Thread Charles Chen
Hi All, I have everything installed and was trying to run ./usrp_oscope.py according to the instructions at http://comsec.com/wiki?UsrpInstall . However, I get an error when I try to run the file. [EMAIL PROTECTED] usrp]# ./usrp_oscope.py Traceback (most recent call last): File "./usrp_oscope