Upgraded my OS X to mac sierra ad updated macport (sudo port selfupdate
). Then tried to run python from terminal and getting this error every time:
Python 3.6.2 (default, Jul 18 2017, 14:08:57)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Python(1316,0x7fffee2213c0) malloc: *** error for object 0x105b21698: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
I installed py36-readline
but it didn't help. How to fix this now?
I found this on GitHub: Crashes with Python 3.6 - MacOS Sierra, but did no help.