Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation Fault on Mac OS X #323

Closed
rsyoung96 opened this issue Aug 28, 2018 · 2 comments
Closed

Segmentation Fault on Mac OS X #323

rsyoung96 opened this issue Aug 28, 2018 · 2 comments

Comments

@rsyoung96
Copy link

When I run NAB run.py, I get a segmentation fault with code 11. I installed NAB and Nupic using pyenv after a lot of problems with conda. Here's the basic information, happy to provide more as necessary.

Process:               Python [31577]
Path:                  /usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier:            Python
Version:               2.7.15 (2.7.15)
Code Type:             X86-64 (Native)
Parent Process:        bash [815]
Responsible:           Python [31577]
User ID:               501

Date/Time:             2018-08-28 11:57:10.957 -0700
OS Version:            Mac OS X 10.13.5 (17F77)
Report Version:        12
Anonymous UUID:        0967327B-7913-BE57-4781-90156666A358


Time Awake Since Boot: 3900 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]
@rhyolight
Copy link
Member

I do not think pip install nupic works on the latest versions of High Sierra. See numenta/nupic-legacy#3851.

To run NuPIC you may need to compile it locally. See the README for instructions.

@rsyoung96
Copy link
Author

Thanks, that worked. I used pyenv shell 2.7, cloned the NuPIC repo, used pip install . in nupic, and then used pip install . --user in NAB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants