How to install tkinter in pycharm?

+1 vote
I am trying to install tkinter in pycharm but I am not able to find the module. I went to settings, project interpreter. Searched for “tkinter”,”Tkinter”, and “python-tk” but couldn’t find it. Can someone tell me how to install tkinter in pycharm?
Apr 3, 2019 in Python by Raj
10,363 views
Thanks very much

2 answers to this question.

+1 vote
Ya, this is a problem with installing tkinter on pycharm. You don’t have a tkinter module like you use while using pip. To install tkinter in Pycharm, install the module “future” and restart pycharm. Tkinter will be imported.
answered Apr 3, 2019 by Jishan
Thanks. Help me so much.
I installed "future" module in pycharm but still I get and error:  module not found:no module named tkinter
Was the "future" module successfully installed? I think it wasn't. Because ideally, installing that module should solve the problem.
0 votes
from random import randint
from time import sleep
md2=randint(1,30)
def gentree():
    print("\033c")
    for x in range(1.30,2):
        md1=randint(1,md2)
        if x==1:
            ch="$"
        elif md1%4==0:
            ch="0"
        elif md1%3==0:
            ch="i"
        else:
            ch="*"
        print("{i^33}".format_map(ch*x))
    print("{i^33}".format("|||"))
    print("{i^33}".format("|||"))
    sleep(.75)
answered Dec 17, 2019 by anonymous
can you please explain this code? How is it related to installing tkinter in pycharm?

Related Questions In Python

0 votes
1 answer

How to install modules in Pycharm?

You can install modules in PyCharm using ...READ MORE

answered May 30, 2019 in Python by Shabnam
• 920 points
2,019 views
+2 votes
1 answer

How to install pip in windows?

Step 1:  Open the following link and go to ...READ MORE

answered Nov 27, 2018 in Python by Priyaj
• 57,450 points
3,112 views
0 votes
1 answer

How to install OpenCV for python3 in Ubuntu?

I found this: https://pypi.python.org/pypi/opencv-python OpenCV on wheels 'Unofficial OpenCV packages ...READ MORE

answered Nov 28, 2018 in Python by Nymeria
• 3,520 points
769 views
0 votes
1 answer

How to access different Anaconda environments from PyCharm for coding in Python?

Hi! In PyCharm, you can add any number ...READ MORE

answered Feb 11, 2019 in Python by Nymeria
• 3,520 points
242 views
0 votes
1 answer
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 524 views
0 votes
0 answers
0 votes
1 answer

Unable to install TA-Lib on Pycharm

It took me a while to solve ...READ MORE

answered May 15, 2019 in Data Analytics by Sophie may
• 9,900 points
621 views
0 votes
1 answer

How to print just one column in pandas?

You can use the header to print ...READ MORE

answered Apr 3, 2019 in Python by TIna
131 views
0 votes
1 answer

How to read Pandas csv file with no header?

You can set the header option to ...READ MORE

answered Apr 3, 2019 in Python by Shri
3,578 views