microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.98k stars 28.78k forks source link

Unresolved import 'module' #114080

Closed Jasperlooney closed 3 years ago

Jasperlooney commented 3 years ago

Issue Type: Bug

I'm sorry, i'm brand new to coding so i don't know if i'll be much help. I have written another python file and have imported it in via the import function. it is working fine and I get what I expect to get.

the issue prompt never goes away and as someone 4 days into coding it makes me worry that i'm doing something wrong. There is no information online on how to resolve it (or at least it is so technically worded that someone new to coding doesn't know what they are looking at).

I have managed to get a virtual environment running like someone online suggested (i followed this tutorial very closely https://www.youtube.com/watch?v=Wuuiga0wKdQ&list=PLTnc6anNcxnQslqk02vxc__JTfS9Dv9rC&index=4&ab_channel=AtoZProgrammingTutorials) and there is still no resolution. I don't want to mess around in settings incase I break something.

Again i'm sorry that i'm not much help and I'd completely understand if my issue report gets tossed aside for more detailed and important things. i'm just hoping that my issue is already well known and a fix could possibly be made easy to access.

Either way thanks for your time and please, stay safe, sane and healthy. There are many more hours in your life but only one you, look after yourself and those you love.

Ps is there is a really simple fix to this and i'm just ignorant to it then if at all possible could someone step it out in lay terms so someone new to coding and file pathing can fix it? I would greatly appreciate it.

VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z) OS version: Windows_NT x64 10.0.19042

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 5 5600X 6-Core Processor (12 x 3693)| |GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|15.95GB (10.96GB free)| |Process Argv|--crash-reporter-id 73234041-0425-4a0a-9186-1f0e91e72ed1| |Screen Reader|no| |VM|0%|
Extensions (4) Extension|Author (truncated)|Version ---|---|--- vsc-material-theme|Equ|33.1.2 vsc-material-theme-icons|equ|1.2.2 python|ms-|2020.12.424452561 jupyter|ms-|2020.12.414227025 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 openlogontheside:30221877 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30211402 wsl2promptcf:30224613 pythonvsdeb440:30242242 unusedpromptcf:30224611 folderexplorer:30224614 openfilemenucf:30224648 pythonvsded773:30236629 pythonvspyt875:30241730 vsjup459:30237187 ```
mjbvz commented 3 years ago

/extPython