FS#50759 - [lldb] ImportError: No module named _lldb

Attached to Project: Arch Linux
Opened by Yichao Zhou (zhou13) - Monday, 12 September 2016, 21:33 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 27 October 2016, 19:45 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I cannot import LLDB in python

$ python2
Python 2.7.12 (default, Jun 28 2016, 08:31:05)
[GCC 6.1.1 20160602] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lldb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/lldb/__init__.py", line 46, in <module>
_lldb = swig_import_helper()
File "/usr/lib/python2.7/site-packages/lldb/__init__.py", line 45, in swig_import_helper
return importlib.import_module('_lldb')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named _lldb
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Thursday, 27 October 2016, 19:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  lldb 3.9.0-1
Comment by Yichao Zhou (zhou13) - Monday, 12 September 2016, 21:38 GMT
A simple solution is to copy /usr/lib/python2.7/site-packages/lldb/_lldb.so to /usr/lib/python2.7/site-packages/_lldb.so.

Loading...