You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing a simple variable, function or anything from one to two, or vice versa, an error occurs:
Exception has occurred: ModuleNotFoundError
No module named 'twoo
' File "D:\Python\tester\onee\ones.py", line 1, in
from twoo.twos import x
ModuleNotFoundError: No module named “twoo”.
It has appeared recently. rather, there were no such problems.
That is, at one point this error began to appear.
if the file to which the import is performed is not in the root folder.
Everything works in PyCharm.
Translated with DeepL.com (free version)
VS Code version: Code 1.96.4 (cd4ee3b, 2025-01-16T00:16:19.038Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
Item
Value
CPUs
11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)
It looks like this is caused by the Python extension. Please file the issue to the Python extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Type: Bug
D:\Python\tester
-onee - folder
---ones.py
-twoo - folder
---twos.py
When importing a simple variable, function or anything from one to two, or vice versa, an error occurs:
Exception has occurred: ModuleNotFoundError
No module named 'twoo
' File "D:\Python\tester\onee\ones.py", line 1, in
from twoo.twos import x
ModuleNotFoundError: No module named “twoo”.
It has appeared recently. rather, there were no such problems.
That is, at one point this error began to appear.
if the file to which the import is performed is not in the root folder.
Everything works in PyCharm.
Translated with DeepL.com (free version)
VS Code version: Code 1.96.4 (cd4ee3b, 2025-01-16T00:16:19.038Z)
OS version: Windows_NT x64 10.0.22631
Modes:
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
Extensions (3)
A/B Experiments
The text was updated successfully, but these errors were encountered: