Installing wxPython on Raspberry Pi 3

I managed to find - at last - a better install help for the RPi.
From here : https://wiki.wxpython.org/BuildWxPythonOnRaspberryPi
But after the install with no problems I get:
in the help it states sudo pip3 install wxPython-4.0.1-cp36-cp36m-linux_armv7l.whl
This is not on the system but
s*udo pip3 install wxPython-4.0.1-cp35-cp35m-linux_armv7l.whl worked.***
Statring the demo.py I got a menu (really good graphics!!) but the following:
i@hostb:~/wxPython-4.0.1/demo $ python demo.py
__
(demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap: assertion ‘height >= -1’ failed
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap: assertion ‘height >= -1’ failed
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap: assertion ‘height >= -1’ failed__

Since the GUI has suberb graphics I want to stay with wxPython.

Can someone assist here please???

Thanks

NT

···

Hello

I’ve installed wxpython under raspbian and also I ran the demo.py and I’ve got no problem the only is that tooltip are not working, I recomend you to follow the steps posted in BuildWxPythonOnRaspberryPi - wxPyWiki

In my case I used:

$ sudo apt-get update

$ sudo apt-get install dpkg-dev build-essential libjpeg-dev libtiff-dev libsdl1.2-dev libgstreamer-plugins-base0.10-dev libnotify-dev freeglut3 freeglut3-dev libwebkitgtk-dev

$ cd wxPython-4.0.1

$ python3 build.py build bdist_wheel --jobs=1 --gtk2

$ cd ~/wxPython-4.0.1/dist

$ pip3 install wxPython-4.0.1-cp36-cp36m-linux_armv7l.whl

The compilation time takes to much, at least four hours, but it works

Please try again!

···

El martes, 10 de abril de 2018, 10:22:49 (UTC-5), Keep Secret escribió:

I managed to find - at last - a better install help for the RPi.
From here : https://wiki.wxpython.org/BuildWxPythonOnRaspberryPi
But after the install with no problems I get:
in the help it states sudo pip3 install wxPython-4.0.1-cp36-cp36m-linux_armv7l.whl
This is not on the system but
sudo pip3 install wxPython-4.0.1-cp35-cp35m-linux_armv7l.whl worked.
Statring the demo.py I got a menu (really good graphics!!) but the following:
i@hostb:~/wxPython-4.0.1/demo $ python demo.py
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap: assertion ‘height >= -1’ failed
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap: assertion ‘height >= -1’ failed
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap: assertion ‘height >= -1’ failed

Since the GUI has suberb graphics I want to stay with wxPython.

Can someone assist here please???

Thanks

NT

If you prefer you can try the compiled file at

https://sites.google.com/site/sebas2print

and so remember to excecute this

$ sudo apt-get update

$ sudo apt-get install dpkg-dev build-essential libjpeg-dev libtiff-dev libsdl1.2-dev libgstreamer-plugins-base0.10-dev libnotify-dev freeglut3 freeglut3-dev libwebkitgtk-dev

and then install the compiled file in the above link

···

El martes, 10 de abril de 2018, 11:36:44 (UTC-5), sebastian lópez escribió:

Hello

I’ve installed wxpython under raspbian and also I ran the demo.py and I’ve got no problem the only is that tooltip are not working, I recomend you to follow the steps posted in https://wiki.wxpython.org/BuildWxPythonOnRaspberryPi

In my case I used:

$ sudo apt-get update

$ sudo apt-get install dpkg-dev build-essential libjpeg-dev libtiff-dev libsdl1.2-dev libgstreamer-plugins-base0.10-dev libnotify-dev freeglut3 freeglut3-dev libwebkitgtk-dev

$ cd wxPython-4.0.1

$ python3 build.py build bdist_wheel --jobs=1 --gtk2

$ cd ~/wxPython-4.0.1/dist

$ pip3 install wxPython-4.0.1-cp36-cp36m-linux_armv7l.whl

The compilation time takes to much, at least four hours, but it works

Please try again!

El martes, 10 de abril de 2018, 10:22:49 (UTC-5), Keep Secret escribió:

I managed to find - at last - a better install help for the RPi.
From here : https://wiki.wxpython.org/BuildWxPythonOnRaspberryPi
But after the install with no problems I get:
in the help it states sudo pip3 install wxPython-4.0.1-cp36-cp36m-linux_armv7l.whl
This is not on the system but
sudo pip3 install wxPython-4.0.1-cp35-cp35m-linux_armv7l.whl worked.
Statring the demo.py I got a menu (really good graphics!!) but the following:
i@hostb:~/wxPython-4.0.1/demo $ python demo.py
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap: assertion ‘height >= -1’ failed
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap: assertion ‘height >= -1’ failed
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap: assertion ‘height >= -1’ failed

Since the GUI has suberb graphics I want to stay with wxPython.

Can someone assist here please???

Thanks

NT

Many wxWidgets trigger these GTK warnings. Despite the word
“CRITICAL”, almost without exception, they can be ignored.
I wish the GTK guys would put these warnings in a log file somewhere
so as not to alarm users.

···

Keep Secret wrote:

     s***            udo pip3 install

wxPython-4.0.1-cp35-cp35m-linux_armv7l.whl worked.***

    Statring the demo.py I got a menu (really good graphics!!) but

the following:

     $ python demo.py

Since the GUI has suberb graphics I want to stay with wxPython.

-- Tim Roberts, Providenza & Boekelheide, Inc.

i@hostb:~/wxPython-4.0.1/demo
__ ** (demo.py:2976): CRITICAL **:
clearlooks_style_draw_box_gap: assertion ‘height >= -1’
failed
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap:
assertion ‘height >= -1’ failed
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap:
assertion ‘height >= -1’ failed__

timr@probo.com

In this case it looks like the asserts are from the active theme, so it is yet another step away from actually being “CRITICAL”.

···

On Tuesday, April 10, 2018 at 1:25:28 PM UTC-7, Tim Roberts wrote:

Keep Secret wrote:

     s***            udo pip3 install

wxPython-4.0.1-cp35-cp35m-linux_armv7l.whl worked.***

    Statring the demo.py I got a menu (really good graphics!!) but

the following:

    i@hostb:~/wxPython-4.0.1/demo $ python demo.py

    __          ** (demo.py:2976): CRITICAL **:

clearlooks_style_draw_box_gap: assertion ‘height >= -1’
failed
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap:
assertion ‘height >= -1’ failed
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap:
assertion ‘height >= -1’ failed__

    Since the GUI has suberb graphics I want to stay with wxPython.
Many wxWidgets trigger these GTK warnings.  Despite the word

“CRITICAL”, almost without exception, they can be ignored.

I wish the GTK guys would put these warnings in a log file somewhere

so as not to alarm users.

Robin


Hi
I have python 3.5.3 on RPi3B+. This install failed for me: I got

selecting libtiff5-dev instead of libtiff-dev

E: unable to locate libgstreamer-plugins-base0.10-dev

E: no package by glob libgstreamer-plugins-base0.10-dev

E: ditto by regex libgstreamer-plugins-base0.10-dev

Am I out of date or just plain unlucky today?

As a Raspian noobie I really appreciate these forums.

Thank you, Graham.

···

On Wednesday, April 11, 2018 at 10:04:54 AM UTC-7, Robin Dunn wrote:

On Tuesday, April 10, 2018 at 1:25:28 PM UTC-7, Tim Roberts wrote:

Keep Secret wrote:

     s***            udo pip3 install

wxPython-4.0.1-cp35-cp35m-linux_armv7l.whl worked.***

    Statring the demo.py I got a menu (really good graphics!!) but

the following:

    i...@hostb:~/wxPython-4.0.1/demo $ python demo.py

    __          ** (demo.py:2976): CRITICAL **:

clearlooks_style_draw_box_gap: assertion ‘height >= -1’
failed
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap:
assertion ‘height >= -1’ failed
** (demo.py:2976): CRITICAL **: clearlooks_style_draw_box_gap:
assertion ‘height >= -1’ failed__

    Since the GUI has suberb graphics I want to stay with wxPython.
Many wxWidgets trigger these GTK warnings.  Despite the word

“CRITICAL”, almost without exception, they can be ignored.

I wish the GTK guys would put these warnings in a log file somewhere

so as not to alarm users.

In this case it looks like the asserts are from the active theme, so it is yet another step away from actually being “CRITICAL”.

Robin