PyTest: **ModuleNotFoundError** inside venv
#19316
Replies: 1 comment
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.
Uh oh!
There was an error while loading. Please reload this page.
I get the following uncaught error for the Python Extension in VS Code. This only happens inside
venv. It doesn't seem to be able to detect my system-widepytestinstallation. I have even setpython.testing.pytestPathto~/.local/bin/pytest.This problem does get fixed if I install
pytestinto the relevantvenvbut I am wondering if there is a way around it.All reactions