ivann3001
Posts: 5
Joined: Thu Jan 11, 2018 4:27 am
Location: Brisbane

How to run Tkinter on RASPBIAN STRETCH LITE on CM3 4gb

Thu Mar 08, 2018 1:42 am

Hi guys,

It is impossible to run tkinter on raspbian stretch lite? I am want to make touch app on on CM3 with 4gb only. I couldn't install full raspbian with desktop.

Please help for this issue.

Thanks

scotty101
Posts: 3535
Joined: Fri Jun 08, 2012 6:03 pm

Re: How to run Tkinter on RASPBIAN STRETCH LITE on CM3 4gb

Thu Mar 08, 2018 9:45 am

Tkinter won't run without a desktop environment (other GUI frameworks will work)

You're going to have to install the bare minimum required to get a basic desktop environment but without the additional clutter that comes with full raspbian.

This tutorial might help http://thecodermag.com/installing-gui-r ... stros.html
This one suggests a lighter weight approach https://jp.raspberrypi.org/forums/viewt ... p?t=152264
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

ivann3001
Posts: 5
Joined: Thu Jan 11, 2018 4:27 am
Location: Brisbane

Re: How to run Tkinter on RASPBIAN STRETCH LITE on CM3 4gb

Fri Mar 09, 2018 3:04 am

Thanks @scotty101

I am trying.

janderso
Posts: 1
Joined: Tue Nov 13, 2018 4:54 pm

Re: How to run Tkinter on RASPBIAN STRETCH LITE on CM3 4gb

Thu Dec 06, 2018 1:09 am

Hi, trying to to re-post. I was hoping I could just install Stretch Lite and still create some GUI for a touchscreen.

Is this just not possible on S-L ?

Could kivy work/install on top of just Rasp S-L ? Mybe not the best place to ask, but doing it anyways.

Thanks for any ideas,

John

fruitoftheloom
Posts: 19356
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: How to run Tkinter on RASPBIAN STRETCH LITE on CM3 4gb

Thu Dec 06, 2018 8:22 am

janderso wrote:
Thu Dec 06, 2018 1:09 am
Hi, trying to to re-post. I was hoping I could just install Stretch Lite and still create some GUI for a touchscreen.

Is this just not possible on S-L ?

Could kivy work/install on top of just Rasp S-L ? Mybe not the best place to ask, but doing it anyways.

Thanks for any ideas,

John

Raspbian Stretch with Desktop has a minimal image available which has very little optional software:

https://www.raspberrypi.org/downloads/raspbian/

https://www.raspberrypi.org/blog/raspbi ... mber-2018/

The default Raspbian release is now a minimal install — it gives you the desktop, the Chromium browser, the VLC media player, Python, and some accessory programs.
adieu

My other Computer is an Asus CS10 ChromeBit running Chrome Operating System.
HP Envy 4500 Wireless Printer supported by HPLIP software in Raspbian Stretch.

Return to “Compute Module”