How to manage venvs for subprojects within a workspace? #25334
Unanswered
somiandras
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
pyproject.toml
files and each installed into a.venv
directory in the project itself (not a central Poetry env cache)..py
file in any of the subprojects, the status bar shows the proper environment so I would expect Pylance to pick up the correct interpreter path and evaluate imports using that, but it fails.I created a toy example that fails in the same way. I have
subproject_a
andsubproject_b
, both has theirpyproject.toml
and.venv
, both recognised by the environments extension (left panel). The status bar properly shows thesubproject_a
environment, which haspolars
installed, but Pylance still fails to recognise. it. What do I miss here?Beta Was this translation helpful? Give feedback.
All reactions