LLDB failed to start on windows

Hello,everyone. I’m a beginner of LLDB and I want to use lldb on windows. I download the clang+llvm-19.1.2-x86_64-pc-windows-msvc.tar.xz on the Releases · llvm/llvm-project (github.com) and I try to launch lldb.exe just like this:
./bin/lldb.exe
it seems like right, but when i want to launch it, i got an error:

the path “'E:\Python Environment\Lib\” and “E:\Python Environment\DLLs\” is the path where i installed python interpreter but now, I have already removed and uninstalled it.

What can I do to make the lldb work correctly?

The error you’re seeing means LLDB can’t find the Python directories it needs. You can see the error - “No module named ‘encodings’”.
There’s no readme with the build that says what to do, but I believe the following to be true:

  • lldb was built with Python 3.10. You need to use the same Python as lldb was built with.
  • lldb is looking for the python install in E:\Python Environment\ .

I think you need to install Python 3.10 (probably the latest 3.10 release), and have the Lib and DLLs folders in E:\Python Environment\ . I tried running my lldb with those folders moved, and it failed in the same way that yours is failing.

OK, I’ll have a try

u r right, my lldb is working correctly now. But i want to know how can i appoint the path where lldb should find the python libs to lldb?

Unfortunately, you can’t - that’s set when lldb is built.