discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Fatal Python error: PyThreadState_Get: no current


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] Fatal Python error: PyThreadState_Get: no current thread (OSX 10.10.5, Homebrew install)
Date: Thu, 01 Oct 2015 22:12:22 -0400

Hi David - It looks from the 'brew install log that brew is using "/usr/local/Cellar/python/2.7.10_2/bin/python", while you're trying to use "/usr/local/bin/python". These may or not be the same install of Python; given the PyThreadState_Get error you're getting I'd bet they are different versions. Would you be willing to do a quick test? Look at < https://github.com/gnuradio/gnuradio/pull/604/files > and follow the very small change they recommend. You'll need to uninstall gnuradio first, then make the change, then install it. It very well might take care of your issue & would also help me out in the process by testing this change. I've been busy with dealing with 10.11 & some issues it has created with my laptop (crashes & such; not fun ones either). If you can't try this for any reason that's OK too; just throwing it out there. Hope this helps & thanks! - MLD
 
On Thu, Oct 1, 2015, at 06:15 PM, David Cranor wrote:
I’m trying to get gnuradio working with my RTLSDR.  When I get a fresh install of gnuradio from homebrew, it seems to install OK, but when when I try to run the companion it dies with the error:
 
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
 
I’ve done some research and this seems to have something to do with system Python vs. Homebrew Python, but I’ve done which python and it gives me /usr/local/bin/python.  Not sure where to go from here without just installing macports, so any advice would be appreciated!
 

~> brew install gnuradio

==> Installing dependencies for gnuradio: python, cppunit, gsl, zeromq, pygobject, py2cairo, pygtk, wxpython, qwt, sip, pyqt, uhd, sdl, berkeley-db, flac, libogg, libvorbis, libsndfile, libsamplerate, j

==> Installing gnuradio dependency: python

==> Downloading https://homebrew.bintray.com/bottles/python-2.7.10_2.yosemite.bottle.3.tar.gz

######################################################################## 100.0%

==> Pouring python-2.7.10_2.yosemite.bottle.3.tar.gz

==> /usr/local/Cellar/python/2.7.10_2/bin/python -s setup.py --no-user-cfg install --force --verbose --single-version-externally-managed --record=installed.txt --install-scripts=/usr/local/Cellar/python/2.7.10

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]