You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install some python packages in the embedded python environment bundled by the plugin through LLDB: Command prompt, as suggested here. However, the pip command fails since it seems that it is not installed in the embedded environment:
(lldb) command script import /home/ubuntu/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/adapter/scripts/console.py
Extra commands available:
pip - Manage Python packages.
debug_info - Show module debug information.
(lldb) pip
Traceback (most recent call last):
File "/home/ubuntu/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/adapter/scripts/console.py", line 11, in pip
runpy.run_module('pip', run_name='__main__', alter_sys=True)
File "/home/ubuntu/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/lldb/lib/python3.9/runpy.py", line 206, in run_module
mod_name, mod_spec, code = _get_module_details(mod_name)
File "/home/ubuntu/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/lldb/lib/python3.9/runpy.py", line 141, in _get_module_details
raise error("No module named %s" % mod_name)
ImportError: No module named pip
I tried this same thing in a different system, with Ubuntu x86_64, and it works there. Digging a little more, it seems that the aarch64-linux plugin lacks a site-packages folder in the python installation:
❯ ls ~/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/lldb/lib/python3.9/site-packages
ls: cannot access '/home/ubuntu/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/lldb/lib/python3.9/site-packages': No such file or directory
The text was updated successfully, but these errors were encountered:
Bumping this since I spent quite a bit of time trying to debug the same issue. I'm on version 1.11.0 but using the same OS, and also don't have a site-packages folder:
ls ~/.vscode-server/extensions/vadimcn.vscode-lldb-1.11.0/lldb/lib/python3.9/site-packages
ls: cannot access '/home/ubuntu/.vscode-server/extensions/vadimcn.vscode-lldb-1.11.0/lldb/lib/python3.9/site-packages': No such file or directory
OS: Ubuntu 22.04.4 LTS (aarch64)
VSCode version: 1.89.1
CodeLLDB version: v1.10.0
Compiler: N/A
Debuggee: N/A
I'm trying to install some python packages in the embedded python environment bundled by the plugin through
LLDB: Command prompt
, as suggested here. However, thepip
command fails since it seems that it is not installed in the embedded environment:I tried this same thing in a different system, with Ubuntu x86_64, and it works there. Digging a little more, it seems that the
aarch64-linux
plugin lacks asite-packages
folder in the python installation:The text was updated successfully, but these errors were encountered: