SO I have been developing a program for my wife on my machine, which is windows. She recently finally got a laptop, so I'm working on moving everything onto there for her.
After hours of messing around (NOT a Mac guy, hate them and am very frustrated now haha) I seemed to have everything running, databases working and handing out the info, etc, Except - when you start to use the program, I get segmentation fault 11 and an immediate crash.
I started off trying to use python 26 or 27 as I am using on my machine - installed python and some of the libraries I needed, but whenever I was trying to build PySide it was an epic failure, and either wouldn't work, or would error at importing QtCore or QtGui. Qt4 was A no go as well.
After hours of playing with this I moved on to saying screw it, and installing pyqt5 and adjusting all my code to fit (that was fun). It was at this point I was able to get it running - up until the segmentation fault issues.
Some research led me to info about some deadline error on Mac, saying other versions should have it fixed, or there was a patch I could apply. I tried applying the patch, which itself errors with a line error trying to read it, at the sh ./patch_readline_issue_18458.sh stage.
sh ./patch_readline_issue_18458.sh
./patch_readline_issue_18458.sh: line 1: syntax error near unexpected token `newline'
./patch_readline_issue_18458.sh: line 1: `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'
Eventually I said I'd bite a few more bullets and move up to python 3... I mean it says compile for apple IN it, and its new... this couldn't have issues right?
$ python3
Python 3.6.2 (v3.6.2:5fd33b5926, Jul 16 2017, 20:11:06)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Wrong - still segfaults.
Im at a loss for what to do here... does anyone have any idea how to help a Mac noob?