Skip to content

Unable to find Python module installed via APT #2627

@moosetwin0

Description

@moosetwin0

Describe the bug
Importing gives a ModuleNotFoundError despite the module being installed

Please confirm that this problem is VSCodium-specific

  • This bug doesn't happen if I use Microsoft's Visual Studio Code. It only happens in VSCodium.

Please confirm that the issue/resolution isn't already documented

To Reproduce
Steps to reproduce the behavior:

  1. Install Xlib via sudo apt install python3-xlib
  2. Create python file with import Xlib
  3. Attempt to run it within VSCodium

Expected behavior
It will import the module without any errors

Screenshots
Image

Desktop (please complete the following information):

  • OS: Linux Mint 22.2 Cinnamon
  • Architecture: x64
  • Version: 1.106.37943
  • App Manager: mintinstall (Flatpak)
  • Sandboxed: Flatpak

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions