Skip to content

A little error in the tkinter and Tkinter name import #15879

@chamerlish

Description

@chamerlish

Issue Type: Bug

So basiclly the Python extention autocomplite and suggest the "tkinter" syntax for import but whenever you complite the code, error "ImportError: No module named tkinter" and thats totaly normal cause the module isn't named "tkinter" but "Tkinter" (the uppercase in the begin), so every time i want to compile the code i have to change the import name, (i can't just write the "Tkinter" with the uppercase when i code cause then i can't take advantage of the auto complite), thanks

Extension version: 2021.3.680753044
VS Code version: Code 1.55.0 (Universal) (c185983a683d14c396952dd432459097bc7f757f, 2021-03-30T16:01:05.981Z)
OS version: Darwin x64 14.5.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz (8 x 2200)
GPU Status 2d_canvas: unavailable_software
gpu_compositing: disabled_software
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
protected_video_decode: disabled_off
rasterization: disabled_software
skia_renderer: disabled_off_ok
video_decode: disabled_software
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) 3, 3, 3
Memory (System) 8.00GB (0.02GB free)
Process Argv -psn_0_53261 --crash-reporter-id 6465734e-fd91-4d4f-be10-f56e0de4b5c6
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspyt653:30270858
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry914:30276682
pythonvsdeb440:30248342
pythonvsded773:30248341
vstes627:30244334
pythonvspyt875:30259475
pythonvspyt639:30281910
pythontb:30283811
wslfolderdoc:30282074
vspre833:30267464
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30276952
pythondataviewer:30285071

Metadata

Metadata

Assignees

Labels

area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions