-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
pytest discovery fails with ModuleNotFound #24127
Comments
Hi Kyle! Logs show there is a symlink and we do some path updating in that case to fix issues caused by the symlink we have seen in the past. To confirm is
also go jackets (im a GT alum) |
Hi Eleanor, thanks for getting back.
Go Jackets! |
@anthonykim1, looks like the issue here is the right environment is not being selected, this is likely related to the other issues we have seen with conda env activation. This investigation should help solve this issue as well: #24190. Thanks! |
Type: Bug
Behaviour
pytest discovery fails with a ModuleNotFoundError, when the module is clearly installed in my environment
Steps to reproduce:
tests/conftest.py
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2024.15.2024090406
VS Code version: Code - Insiders 1.94.0-insider (a162831c17ad0d675f1f0d5c3f374fd1514f04b5, 2024-09-06T12:53:19.832Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
python.languageServer
setting: PylanceUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: