Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

litex_setup installs python packages as --editable, breaking VS Code #1977

Open
vvuk opened this issue May 31, 2024 · 0 comments
Open

litex_setup installs python packages as --editable, breaking VS Code #1977

vvuk opened this issue May 31, 2024 · 0 comments

Comments

@vvuk
Copy link

vvuk commented May 31, 2024

The VS Code "pylance" language server cannot find modules installed as editable using the "import finder" executable pth format. Removing the --editable fixes the issue, and litex modules are found in the editor. Is there a reason they are installed editable in non-litex-dev setups? I didn't try to "compat mode" workaround.

Ref: https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#editable-install-modules-not-found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant