-
Notifications
You must be signed in to change notification settings - Fork 774
Python venv dependencies are not working with code completion #7209
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
Comments
I have the same issue. The issue is specific to Python projects, in another TypeScript repository, everything works as expected |
I also did not have completions for my local projects but when I did a |
Can you include the log as described here? https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#filing-an-issue It sounds like Pylance is crashing for some reason. The log should give us a callstack for where the crash is. |
|
This is a bug in Jedi actually, not Pylance: Your log indicates you have 'Jedi' selected here: |
Thanks! I don't know why i got |
Type: Bug
Behaviour
Python venv dependencies are not working with code completion
Steps to Reproduce
Diagnostic Data
Maybe is related or not but at some point I've managed to get this output:
I've found as well simillar issue here astral-sh/uv#9637 but I've tested it for UV and classic venv. And raised this before microsoft/vscode#248842
Extension version: 2025.6.0
VS Code version: Code 1.100.0 (19e0f9e681ecb8e5c09d8784acaa601316ca4571, 2025-05-07T12:48:53.763Z)
OS version: Darwin arm64 24.5.0
Modes:
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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: