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.
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.
$ 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.
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.