Skip to content

Python on Pop-OS not working #61247

Description

@adiba

Reproduction steps

Fresh install using installation script.
Create a venv.
Run a simple main.py with 'debugger: start'.

Current vs. Expected behavior

error: Failed to create base virtual environment with /home/<user>/<project-root>/.venv/bin/python in:
/home/<user>/.local/share/zed/debug_adapters/Debugpy

.venv/bin/python main.py works however.

Zed version and system specs

Zed 1.11.3
Commit: 952d712
Version: 1.11.3+stable.326.952d712dac48a4af2c54fb22c82d82a9d69b72d4
OS: pop-os 24.04
arch: x86-64

Attach Zed log file

Zed.log
2026-07-18T10:00:33+02:00 INFO  [node_runtime] Node runtime install_if_needed
2026-07-18T10:00:33+02:00 INFO  [repl::kernels] Preparing Python kernel for toolchain: Python 3.12.3 (venv)
2026-07-18T10:00:33+02:00 INFO  [repl::kernels] Python path: /home/username/projects/project-root/.venv/bin/python
2026-07-18T10:00:33+02:00 INFO  [repl::kernels] Kernel VIRTUAL_ENV: /home/username/projects/project-root/.venv
2026-07-18T10:00:33+02:00 INFO  [node_runtime] using Zed managed Node.js at /home/username/.local/share/zed/node/node-v24.11.0-linux-x64 since system Node.js wasn't found on PATH: cannot find binary path
2026-07-18T10:00:33+02:00 INFO  [repl::kernels] Preparing Python kernel for toolchain: Python 3.12.3.final.0 (global)
2026-07-18T10:00:33+02:00 INFO  [repl::kernels] Python path: /usr/bin/python3
2026-07-18T10:00:33+02:00 INFO  [repl::kernels] Kernel VIRTUAL_ENV: /usr
2026-07-18T10:00:34+02:00 INFO  [lsp] starting language server process. binary path: "/home/username/.local/share/zed/node/node-v24.11.0-linux-x64/bin/node", working directory: "/home/username/projects/project-root", args: ["/home/username/.local/share/zed/languages/basedpyright/node_modules/basedpyright/langserver.index.js", "--stdio"]
2026-07-18T10:00:35+02:00 INFO  [lsp] starting language server process. binary path: "/home/username/.local/share/zed/languages/ruff/ruff-0.15.22/ruff-x86_64-unknown-linux-gnu/ruff", working directory: "/home/username/projects/project-root", args: ["server"]
2026-07-18T10:01:03+02:00 INFO  [zed::reliability] memory usage: resident 331 MiB (+230 MiB), virtual 14587 MiB
2026-07-18T10:01:19+02:00 ERROR [debugger_ui::debugger_panel] Failed to create base virtual environment with /home/username/projects/project-root/.venv/bin/python in:
/home/username/.local/share/zed/debug_adapters/Debugpy
stderr:

stdout:


Metadata

Metadata

Assignees

No one assigned

    Labels

    area:debugger/dap/debugpyDebugpy debug adapter protocol serverfrequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsstate:needs reproNeeds reproduction steps and/or someone to reproduce

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions