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

Error on OS X (anaconda, all requirements installed) #1

Closed
WeaselCMC opened this issue Feb 23, 2019 · 3 comments
Closed

Error on OS X (anaconda, all requirements installed) #1

WeaselCMC opened this issue Feb 23, 2019 · 3 comments

Comments

@WeaselCMC
Copy link

python setup.py

2019-02-23 15:50:22.296 python[75271:4962346] -[NSApplication _setup:]: unrecognized selector sent to instance 0x7f8f0c42b100
2019-02-23 15:50:22.303 python[75271:4962346] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication _setup:]: unrecognized selector sent to instance 0x7f8f0c42b100'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff3ccb5e65 __exceptionPreprocess + 256
	1   libobjc.A.dylib                     0x00007fff68d0c720 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff3cd3322d -[NSObject(NSObject) __retain_OA] + 0
	3   CoreFoundation                      0x00007fff3cc57820 ___forwarding___ + 1486
	4   CoreFoundation                      0x00007fff3cc571c8 _CF_forwarding_prep_0 + 120
	5   libtk8.6.dylib                      0x000000010272f31d TkpInit + 413
	6   libtk8.6.dylib                      0x000000010268717e Initialize + 2622
	7   _tkinter.cpython-36m-darwin.so      0x00000001024afa16 _tkinter_create + 1174
	8   python                              0x0000000101573068 _PyCFunction_FastCallDict + 200
	9   python                              0x000000010164861f call_function + 143
	10  python                              0x0000000101646175 _PyEval_EvalFrameDefault + 46837
	11  python                              0x00000001016398c9 _PyEval_EvalCodeWithName + 425
	12  python                              0x00000001016492cc _PyFunction_FastCallDict + 364
	13  python                              0x00000001014f1f80 _PyObject_FastCallDict + 320
	14  python                              0x00000001015195f8 method_call + 136
	15  python                              0x00000001014f95ce PyObject_Call + 62
	16  python                              0x000000010159a5b5 slot_tp_init + 117
	17  python                              0x000000010159eaf1 type_call + 241
	18  python                              0x00000001014f1ef1 _PyObject_FastCallDict + 177
	19  python                              0x0000000101648718 call_function + 392
	20  python                              0x0000000101646175 _PyEval_EvalFrameDefault + 46837
	21  python                              0x000000010152fc7e gen_send_ex + 142
	22  _asyncio.cpython-36m-darwin.so      0x000000010222e61e task_step + 174
	23  python                              0x00000001014f95ce PyObject_Call + 62
	24  python                              0x0000000101646376 _PyEval_EvalFrameDefault + 47350
	25  python                              0x00000001016489dc fast_function + 188
	26  python                              0x000000010164867c call_function + 236
	27  python                              0x0000000101646175 _PyEval_EvalFrameDefault + 46837
	28  python                              0x00000001016489dc fast_function + 188
	29  python                              0x000000010164867c call_function + 236
	30  python                              0x0000000101646175 _PyEval_EvalFrameDefault + 46837
	31  python                              0x00000001016489dc fast_function + 188
	32  python                              0x000000010164867c call_function + 236
	33  python                              0x0000000101646175 _PyEval_EvalFrameDefault + 46837
	34  python                              0x00000001016489dc fast_function + 188
	35  python                              0x000000010164867c call_function + 236
	36  python                              0x0000000101646175 _PyEval_EvalFrameDefault + 46837
	37  python                              0x00000001016398c9 _PyEval_EvalCodeWithName + 425
	38  python                              0x000000010169255c PyRun_FileExFlags + 252
	39  python                              0x0000000101691a34 PyRun_SimpleFileExFlags + 372
	40  python                              0x00000001016b87c6 Py_Main + 3734
	41  python                              0x00000001014e9f59 main + 313
	42  libdyld.dylib                       0x00007fff69ddb08d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
@vlajnaya-mol
Copy link
Owner

Made matplotlib use TkAgg explicitly in the latest commit. It may resolve your problem

@vrazn
Copy link

vrazn commented Feb 23, 2019

The last commit didn't help.
Followed the steps here, that helped:

$ mkdir -p ~/.matplotlib
$ echo "backend: TkAgg" > ~/.matplotlib/matplotlibrc

@vlajnaya-mol
Copy link
Owner

Solved, closing.

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

3 participants