Click here to Skip to main content
15,886,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
0


I'm building my first Tkinter GUI, and I need to create a multi-column Listbox using TKtreectrl, but when importing the module I get this error, import error: No module named "TkTreectrl". How to solve this problem, thanks in advance.

What I have tried:

<pre>from TkTreectrl.Treectrl import Treectrl
Posted
Updated 22-Dec-21 21:45pm

1 solution

You first need to install the library from its online repository. See TkTreeCtrl[^] for details.
 
Share this answer
 
Comments
asaad kittaneh 23-Dec-21 14:00pm    
@Richard MacCutchan Thanks for the reply, I appreciate your help, I installed it, what is the next step, where do I put that library, I want to inform you that I am using pycharm, thanks in advance.
Richard MacCutchan 24-Dec-21 4:20am    
If you installed it using pip then it should be in the "lib\site-Packages" directory of your Python installation. I have not used pycharm so cannot comment on it.
Richard MacCutchan 24-Dec-21 4:25am    
I just noticed you have actually spelled it incorrectly. It is TkTreeCtrl with a capital C, not TkTreectrl
asaad kittaneh 24-Dec-21 16:12pm    
@Richard MacCutchan Thank you, man, I tried to spell it with capital C, but Unfortunately, it's not doesn't work, thanks to you again man, God bless you, I will try to install it on python site-packages.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900