Skip to content
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

not recognizing module #7005

Open
five-ipads opened this issue Mar 1, 2025 · 1 comment
Open

not recognizing module #7005

five-ipads opened this issue Mar 1, 2025 · 1 comment
Assignees
Labels
needs repro Issue has not been reproduced yet waiting for user response Requires more information from user

Comments

@five-ipads
Copy link

Type: Bug

listen, i dont know what the fuck im doing but i cannot figure out how to get vscode to see the instaloader module. it works fine on my terminal.

Extension version: 2025.2.1
VS Code version: Code 1.97.2 (Universal) (e54c774e0add60467559eb0d1e229c6452cf8447, 2025-02-12T23:20:35.343Z)
OS version: Darwin arm64 24.3.0
Modes:

System Added Logs
2025-03-01 14:36:24.042 [info] (Client) Pylance async client (2025.2.1) started with python extension (2025.0.0)
2025-03-01 14:36:24.315 [info] [Info  - 2:36:24 PM] (28005) Server root directory: file:///Users/paige/.vscode/extensions/ms-python.vscode-pylance-2025.2.1/dist
2025-03-01 14:36:24.315 [info] [Info  - 2:36:24 PM] (28005) Pylance language server 2025.2.1 (pyright version 1.1.393, commit 3763156f) starting
2025-03-01 14:36:24.322 [info] [Info  - 2:36:24 PM] (28005) Starting service instance "<default>"
2025-03-01 14:36:24.333 [info] [Info  - 2:36:24 PM] (28005) Setting environmentName for service "<default>": "3.13.2 (global)"
2025-03-01 14:36:24.333 [info] [Info  - 2:36:24 PM] (28005) Setting pythonPath for service "<default>": "/usr/local/bin/python3"
2025-03-01 14:36:24.333 [info] [Info  - 2:36:24 PM] (28005) No include entries specified; assuming /<default workspace root>
2025-03-01 14:36:24.333 [info] [Info  - 2:36:24 PM] (28005) Auto-excluding **/node_modules
2025-03-01 14:36:24.333 [info] [Info  - 2:36:24 PM] (28005) Auto-excluding **/__pycache__
2025-03-01 14:36:24.333 [info] [Info  - 2:36:24 PM] (28005) Auto-excluding **/.*
2025-03-01 14:36:24.375 [info] [Info  - 2:36:24 PM] (28005) Assuming Python version 3.13.2.final.0
2025-03-01 14:36:24.404 [info] [Error - 2:36:24 PM] (28005) File or directory "/<default workspace root>" does not exist.
2025-03-01 14:36:24.405 [info] [Info  - 2:36:24 PM] (28005) No source files found.
2025-03-01 14:36:24.420 [info] [Info  - 2:36:24 PM] (28005) Setting environmentName for service "<default>": "3.13.2 (global)"
2025-03-01 14:36:24.420 [info] [Info  - 2:36:24 PM] (28005) Setting pythonPath for service "<default>": "/usr/local/bin/python3"
2025-03-01 14:36:24.420 [info] [Info  - 2:36:24 PM] (28005) No include entries specified; assuming /<default workspace root>
2025-03-01 14:36:24.420 [info] [Info  - 2:36:24 PM] (28005) Auto-excluding **/node_modules
2025-03-01 14:36:24.420 [info] [Info  - 2:36:24 PM] (28005) Auto-excluding **/__pycache__
2025-03-01 14:36:24.420 [info] [Info  - 2:36:24 PM] (28005) Auto-excluding **/.*
2025-03-01 14:36:24.438 [info] [Info  - 2:36:24 PM] (28005) Assuming Python version 3.13.2.final.0
2025-03-01 14:36:24.461 [info] [Error - 2:36:24 PM] (28005) File or directory "/<default workspace root>" does not exist.
2025-03-01 14:36:24.461 [info] [Info  - 2:36:24 PM] (28005) No source files found.
2025-03-01 14:36:24.639 [info] [Info  - 2:36:24 PM] (28005) Background analysis(1) root directory: file:///Users/paige/.vscode/extensions/ms-python.vscode-pylance-2025.2.1/dist
2025-03-01 14:36:24.639 [info] [Info  - 2:36:24 PM] (28005) Background analysis(1) started

System Info
Item Value
CPUs Apple M4 Max (14 x 2400)
GPU Status 2d_canvas: enabled
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
Load (avg) 4, 3, 3
Memory (System) 36.00GB (0.07GB free)
Process Argv --crash-reporter-id ecebd25b-038b-4d5e-8183-9ae8ef32a47e
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
jda6j935:31233686
copilothoveroff:31248523

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Mar 1, 2025
@rchiodo
Copy link
Contributor

rchiodo commented Mar 3, 2025

Your logs say you're using this as your environment:

2025-03-01 14:36:24.333 [info] [Info  - 2:36:24 PM] (28005) Setting pythonPath for service "<default>": "/usr/local/bin/python3"

Is that where you installed instaloader? You might need to tell VS code which interpreter you're using:
https://code.visualstudio.com/docs/python/environments#_select-and-activate-an-environment

@rchiodo rchiodo added the waiting for user response Requires more information from user label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue has not been reproduced yet waiting for user response Requires more information from user
Projects
None yet
Development

No branches or pull requests

2 participants