Ошибка AttributeEr: dlsym (RTLD_DEFAULT, AbsoluteToNanoseconds): символ не найден - PullRequest
0 голосов
/ 04 июля 2019

Я пытаюсь запустить 'conda install что-нибудь' в MacOS Mojave, но я получаю эту ошибку на каждом шагу:

conda install update

Это полный возврат:

Traceback (most recent call last):
  File "/anaconda2/bin/conda", line 13, in <module>
    sys.exit(main())
  File "/anaconda2/lib/python2.7/site-packages/conda/cli/main.py", line 149, in main
    from ..exceptions import conda_exception_handler
  File "/anaconda2/lib/python2.7/site-packages/conda/exceptions.py", line 18, in <module>
    from ._vendor.auxlib.entity import EntityEncoder
  File "/anaconda2/lib/python2.7/site-packages/conda/_vendor/auxlib/entity.py", line 253, in <module>
    from .collection import AttrDict, frozendict, make_immutable
  File "/anaconda2/lib/python2.7/site-packages/conda/_vendor/auxlib/collection.py", line 10, in <module>
    from .compat import isiterable, iteritems, odict, text_type
  File "/anaconda2/lib/python2.7/site-packages/conda/_vendor/auxlib/compat.py", line 10, in <module>
    from ._vendor.five import WhateverIO as StringIO, with_metaclass
  File "/anaconda2/lib/python2.7/site-packages/conda/_vendor/auxlib/_vendor/five.py", line 80, in <module>
    absolute_to_nanoseconds = CoreServices.AbsoluteToNanoseconds
  File "/anaconda2/lib/python2.7/ctypes/__init__.py", line 379, in __getattr__
    func = self.__getitem__(name)
  File "/anaconda2/lib/python2.7/ctypes/__init__.py", line 384, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(RTLD_DEFAULT, AbsoluteToNanoseconds): symbol not found

как я могу это исправить?

...