So, I went around this for over a week without a solution!
In the end what I did was to clean all the OS to make sure I did not have some 
other version of Python. I started afresh and installed all from scratch, both 
using a compiled NuPIC and a binary one as well. Got the same error when trying 
to create a  standalone application with PyInstaller. 
I did some reading in the documentation of PyInstaller, and it is mentioned 
that it struggles with non standard modules, maybe because of the versions  of 
the building tools they use and what not. A lot of variables with versions, and 
bindings and so on. 
So, I still could not deliver a single file solution, and had to crate a bash 
file instead to download dependencies and so on, for someone that "does not 
know nothing about programming" ;)
Just wanted to give an update on this issue, even though it is not the best...
Roberto Becerrahttps://iobridger.wordpress.com/

From: [email protected]
To: [email protected]
Subject: RE: Standalone NuPIC PyInstaller
Date: Thu, 19 Nov 2015 00:04:26 +0000




This all makes a lot of sense to what I read. I didn't see that post in the 
wiki page!! o_O  will try this and report back the news , cheers! 

From: [email protected]
Date: Wed, 18 Nov 2015 23:16:25 +0000
Subject: Re: Standalone NuPIC PyInstaller
To: [email protected]

I didn't have to uninstall Matt, just pointing the correct python interpreter, 
and I had exactly this very same error: Fatal Python error: PyThreadState_Get: 
no current threadAbort trap: 6
It would appear every time that there was a nupic.bindings call, either calling 
it from $ python file.py or python or iPython interpreters. But in Spyder it 
wasn't happening, and it was because I had another interpreter there. Telling 
the system to use always the same interpreter solved it for me. 

On Wed, Nov 18, 2015 at 3:07 PM Matthew Taylor <[email protected]> wrote:
I am very familiar with that error:
https://github.com/numenta/nupic/wiki/Build-and-Installation-FAQ#fatal-python-error-pythreadstate_get-no-current-thread
---------Matt TaylorOS Community Flag-BearerNumenta

On Wed, Nov 18, 2015 at 2:29 PM, Roberto Becerra <[email protected]> 
wrote:



Hi Community!
Has anyone rendered a standalone application in OSX using Nupic? 
I did with pyinstaller and got this ugly message, 
Last login: Wed Nov 18 11:00:47 on ttys001/Users/nupic/dist/standalone ; 
exit;Macs-Mac-mini:~ nupic$ /Users/nupic/dist/standalone ; exit;Fatal Python 
error: PyThreadState_Get: no current threadAbort trap: 6logout
Following what I read I might have something to do with the Python version 
where Nupic is built and the one I am running my script on. I am using 2.7.6  
in my machine. 
Any advice, experience or knowledge?
Roberto                                           

                                                                                
  

Reply via email to