Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No module named 'Tkinter'
#13
(Jun-30-2020, 04:33 PM)All_ex_Under Wrote: Even when I did all the steps CMD is giving me the answer: "C:\Users\Αλέκος Βαγιώνης\venv\Scripts>pip install tkinter
No Python at D:\Applications\Python 3.7.2\python.exe"
You shall not install tkinter,on Windows Python versions it's always build in.
Now you are running from venv virtual environment,do you know how this works?

I think you should look at Python3.8 (3.6-3.7) and pip installation under Windows.
The basic command that most work in cmd if use Python 3.7:
# Test python
C:\>python -V
Python 3.7.2

# Test pip
C:\>pip -V
pip 20.0.2 from c:\python37\lib\site-packages\pip (python 3.7)

# Test tkinter
C:\>python
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
>>>
>>> print(tkinter.__doc__[:200])
Wrapper functions for Tcl/Tk.

Tkinter provides classes which allow the display, positioning and
control of widgets. Toplevel widgets are Tk and Toplevel. Other
widgets are Frame, Label, Entry, Text,
>>> exit()

C:\>
Reply


Messages In This Thread
No module named 'Tkinter' - by All_ex_Under - Jun-30-2020, 07:57 AM
RE: No module named 'Tkinter' - by jdos - Jun-30-2020, 08:06 AM
RE: No module named 'Tkinter' - by pyzyx3qwerty - Jun-30-2020, 09:12 AM
RE: No module named 'Tkinter' - by All_ex_Under - Jun-30-2020, 01:42 PM
RE: No module named 'Tkinter' - by Malt - Jun-30-2020, 02:02 PM
RE: No module named 'Tkinter' - by Marbelous - Jun-30-2020, 02:11 PM
RE: No module named 'Tkinter' - by and2handles - Jun-30-2020, 02:33 PM
RE: No module named 'Tkinter' - by snippsat - Jun-30-2020, 02:48 PM
RE: No module named 'Tkinter' - by jdos - Jun-30-2020, 02:48 PM
RE: No module named 'Tkinter' - by All_ex_Under - Jun-30-2020, 03:02 PM
RE: No module named 'Tkinter' - by jdos - Jun-30-2020, 03:05 PM
RE: No module named 'Tkinter' - by All_ex_Under - Jun-30-2020, 04:33 PM
RE: No module named 'Tkinter' - by snippsat - Jun-30-2020, 05:41 PM
RE: No module named 'Tkinter' - by All_ex_Under - Jul-02-2020, 02:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  no module named 'docx' when importing docx MaartenRo 1 1,186 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 24,588 Nov-02-2023, 08:20 AM
Last Post: South_east
  ModuleNotFoundError: No module named 'requests' Serg 18 3,070 Oct-29-2023, 11:33 PM
Last Post: Serg
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 1,679 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 1,759 Aug-07-2023, 05:32 AM
Last Post: DPaul
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 1,533 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington
  How to fix this error: ModuleNotFoundError: No module named 'notears' yaoyao22 2 1,172 Jul-09-2023, 11:24 AM
Last Post: yaoyao22
  Help with pyinstaller "No module named" korenron 9 10,081 Jun-15-2023, 12:20 PM
Last Post: snippsat
  Problem with Pyinstaller. No module named '_tkinter' tonynapoli2309 0 1,112 May-15-2023, 02:38 PM
Last Post: tonynapoli2309
  ModuleNotFoundError: No module named 'omsdk.sdkproto' donvito7 4 2,010 Oct-20-2022, 02:56 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020