forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
"ModuleNotFoundError: No module named 'packaging'" occurs when running unit tests #25044
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
Labels
bug
Issue identified by VS Code Team member as probable bug
regression
Bug didn't exist in a previous release
Comments
Also affected. Temporary fix:
in your virtualenv |
saturday06
added a commit
to saturday06/VRM-Addon-for-Blender
that referenced
this issue
May 9, 2025
Worked for me, but only after I've updated pip itself:
|
I'm currently experiencing the same problem, reverting to 2025.4 also fixed it for me. |
eleanorjboyd
added a commit
to eleanorjboyd/vscode-python
that referenced
this issue
May 15, 2025
eleanorjboyd
added a commit
that referenced
this issue
May 15, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Issue identified by VS Code Team member as probable bug
regression
Bug didn't exist in a previous release
Type: Bug
Behaviour
When attempting to run unit tests, the execution aborts with the following exception:
The python extension version 2025.4.0 works fine.
Steps to reproduce:
test_foo
on the source code.Extension version: 2025.6.0
VS Code version: Code 1.100.0 (19e0f9e681ecb8e5c09d8784acaa601316ca4571, 2025-05-07T12:48:53.763Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2
Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2
python.languageServer
setting: DefaultUser 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: