Skip to content

Doesn't work with brewed python #2

Description

@keith

If vim / neovim is installed via brew, it uses python installed from brew, which fails to import lldb from Xcode 12. Example failure:

% /usr/local/Cellar/python@3.8/3.8.5/bin/python3
Python 3.8.5 (default, Aug 31 2020, 13:38:53)
[Clang 11.0.3 (clang-1103.0.32.62)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import lldb
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'lldb'
>>> import sys
>>> sys.path.append("/Applications/Xcode-12.0.0-GM2.app/Contents/SharedFrameworks/LLDB.framework/Resourc
es/Python3")
>>> import lldb
Fatal Python error: _PyInterpreterState_Get(): no current thread state
Python runtime state: unknown

zsh: abort      /usr/local/Cellar/python@3.8/3.8.5/bin/python3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions