I need help debugging a python crash. Python is crashing and leaves the message segmentation fault: 11
either when I run each line of code where it's meant to plot or when I run the entire script in the command line. I'm on a Mac running Sierra 10.12.4.
I am using python 2.7 but also have python 3.6 which I installed with homebrew. Homebrew is up to date.
Here's the crash log: https://pastebin.com/z8giGADs.
I have seen other stack overflow questions on this, such as: Python Segmentation fault: 11 on OSX but for example in one of the answers that recommends: cd /Library/Frameworks/Python.framework/Versions/3.3
and then altering a file, I don't have the directory Frameworks
. Any leads highly appreciated!!