Community
cancel
Showing results for 
Search instead for 
Did you mean: 
BKish
Novice
1,704 Views

Tkinter problem in Intel edison

I am learning Image processing in intel edison.

Local Host Computer : Windows 7

Installed Yocto Linux (159.devkit) in intel edison

Python 2.7.3

Problem:

Unable to use Tkinter package.

Errors:

"ImportError: No module named _tkinter" # If this fails your Python may not be configured for Tk

"ImportError: No module named Tkinter"

I am quite new to this. Please bare with me.

12 Replies
Bernard_G_Intel
Employee
86 Views

Did you try to do on the Edison board?

opkg update

opkg install python-tkinter

BKish
Novice
86 Views

I tried this. But the issue was not resolved. I am guessing Tk is not configured in python.

Sideralis Is Tkinter working on your edison board?

Bernard_G_Intel
Employee
86 Views

I tried and it is not working neither.

But what do you expect to do with tkinter? I am not too familiar with it but this module is for building graphical interfaces. There is none on Edison so this module would be useless...

BKish
Novice
86 Views

Planning to process images using python numpy, matplotlib to morph images.

idata
Community Manager
86 Views

Hi bhanukishan,

Thank you for reaching out.

 

I would like to know if you're following any documentation or tutorial on how to process images with the Edison. Are you using something similar? As Sideralis mentioned, the Edison is not really suited for graphical purposes, however, if it is possible to help you we will definitely try it.

 

Have you tried using 'pip install'?

opkg install python-pip

 

pip install tkinter

Also, I would suggest you to update your Edison image for better performance.

Regards,

 

-Pablo
idata
Community Manager
86 Views

Hi bhanukishan,

 

 

Do you have updates on this case? Were you able to install tkinter on your Edison?

 

 

Regards,

 

-Pablo
BKish
Novice
86 Views

No. I stopped following Tkinter as I came to understand that edison doesn't support any graphical interface. But Is there any other solution which will allow us look at the images/2d plots on the console like you see it in ipython or spyder or jupyter?

idata
Community Manager
86 Views

BKish
Novice
86 Views

Thanks for that pablo.

idata
Community Manager
86 Views

We are glad to help you

-Pablo

GWebb
Beginner
86 Views

Pablo, I am also trying to configure Tkinter to work on my edison board. Has anyone gotten this loaded and working?

I'm wanting to load it to use the non-graphical "widget.after" module that come with the tkinter package.

-Gary

idata
Community Manager
86 Views

Hi Gary,

 

 

Have you tried using pip install just like Pablo suggested? Did it work?

 

 

We will be waiting for your reply.

 

 

Have a nice day.

 

 

Regards,

 

Leonardo R.
Reply