wxPython 4 for RaspberryPi

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

wxPython 4 for RaspberryPi

GadgetSteve

Hi all,

 

I have found that it is quite possible, if initially distinctly time consuming, to build a wxPython wheel for Python 3.5 on Raspberrian (I specifically ended up, after a few hours, with wxPython-4.0.3-cp35-cp35m-linux_armv7l.whl). And once built it installs fine on other Raspberry Pi 3 devices.

 

There were a considerable number of other packages needed to be installed first, (for the build), and there was not enough space on a default SD card to complete the build plus the build took several hours.

 

There is a lovely service called Pi Wheels which on the latest version of Raspberrian is the first stop for downloading when doing a pip install, (https://www.piwheels.org is the site), but unfortunately it does not include wxPython.

 

Looking at the site FAQ (https://www.piwheels.org/faq.html) the site does not allow the upload of wheels by package maintainers but instead automatically tries to build everything that the python package index holds from source, (which is an admirable way of working as far as I am concerned), to the reason that wxPython is not available as a wheel from there is most likely that the build fails in the default build environment. The same FAQ mentions that if a package is missing this is probably the reason and urges a package maintainer to raise a bug track on the site so as to specify the dependencies needed for the build to succeed.

 

It would be great to see wxPython running on more Raspberry Pi devices and having pip install wxpython work would be a major step forward towards that aim. I have the history of the packages that I needed to install to get a successful build but I am not an official maintainer of wxPython so cannot raise the necessary ticket on piwheels (if required I can provide the details of the dependencies that I had to install – I know that all of the official maintainers are super busy).

 

In the meantime if anybody would like me to post a copy of my build of wxPython-4.0.3-cp35-cp35m-linux_armv7l.whl – (the majority of the wxDemo works with this build) - online somewhere let me know and I will do so and post a link.

 

Steve (Gadget) Barnes.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: wxPython 4 for RaspberryPi

GadgetSteve

From: [hidden email] <[hidden email]> On Behalf Of Steve Barnes
Sent: 25 October 2018 16:07
To: [hidden email]
Subject: [wxPython-users] wxPython 4 for RaspberryPi

 

Hi all,

 

I have found that it is quite possible, if initially distinctly time consuming, to build a wxPython wheel for Python 3.5 on Raspberrian (I specifically ended up, after a few hours, with wxPython-4.0.3-cp35-cp35m-linux_armv7l.whl). And once built it installs fine on other Raspberry Pi 3 devices.

 

There were a considerable number of other packages needed to be installed first, (for the build), and there was not enough space on a default SD card to complete the build plus the build took several hours.

 

There is a lovely service called Pi Wheels which on the latest version of Raspberrian is the first stop for downloading when doing a pip install, (https://www.piwheels.org is the site), but unfortunately it does not include wxPython.

 

Looking at the site FAQ (https://www.piwheels.org/faq.html) the site does not allow the upload of wheels by package maintainers but instead automatically tries to build everything that the python package index holds from source, (which is an admirable way of working as far as I am concerned), to the reason that wxPython is not available as a wheel from there is most likely that the build fails in the default build environment. The same FAQ mentions that if a package is missing this is probably the reason and urges a package maintainer to raise a bug track on the site so as to specify the dependencies needed for the build to succeed.

 

It would be great to see wxPython running on more Raspberry Pi devices and having pip install wxpython work would be a major step forward towards that aim. I have the history of the packages that I needed to install to get a successful build but I am not an official maintainer of wxPython so cannot raise the necessary ticket on piwheels (if required I can provide the details of the dependencies that I had to install – I know that all of the official maintainers are super busy).

 

In the meantime if anybody would like me to post a copy of my build of wxPython-4.0.3-cp35-cp35m-linux_armv7l.whl – (the majority of the wxDemo works with this build) - online somewhere let me know and I will do so and post a link.

 

[Steve Barnes] For anybody interested the link is https://1drv.ms/f/s!AqaI6OSW79nRkVt20K_P6NjgnZr7

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: wxPython 4 for RaspberryPi

Chris Barker - NOAA Federal
Steve,

Cool stuff, and thanks for all your work!

On Thu, Oct 25, 2018 at 8:33 AM, Steve Barnes <[hidden email]> wrote:

There is a lovely service called Pi Wheels which on the latest version of Raspberrian is the first stop for downloading when doing a pip install, (https://www.piwheels.org is the site), but unfortunately it does not include wxPython.

 

 The same FAQ mentions that if a package is missing this is probably the reason and urges a package maintainer to raise a bug track on the site so as to specify the dependencies needed for the build to succeed.


kind or - -as a FAQ, it's worded as an answer to a question about "a package I maintain".  

 

 I am not an official maintainer of wxPython so cannot raise the necessary ticket on piwheels (if required I can provide the details of the dependencies that I had to install – I know that all of the official maintainers are super busy).


both wxPython and piwheels are open source projects, there is not reason whatsoever that you (or anyone) couldn't open an issue on gitHub with the information needed to build wxPython. YOu can't add code to either the piwheels ot wxPython projects yourself, but you can certanly post issues and Pull requests and let official maintainers take advantage of your experience.

In short -- as with any open source project -- if you have an itch you want to scratch -- do so, and the easier you make it for teh maintianers to include your work, the more likely it will be to get included.

>  In the meantime if anybody would like me to post a copy of my build of wxPython-4.0.3-cp35-cp35m-linux_armv7l.whl – (the majority of the wxDemo works with this build) - online somewhere let me know and I will do so and post a link.

On a related note -- there is a effort afoot to get conda-forge to build packages for the pi -- maybe you'd like to help out there?



-CHB



 

[Steve Barnes] For anybody interested the link is https://1drv.ms/f/s!AqaI6OSW79nRkVt20K_P6NjgnZr7

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.



--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[hidden email]

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: wxPython 4 for RaspberryPi

GadgetSteve

 

 

From: 'Chris Barker' via wxPython-users <[hidden email]>
Sent: 26 October 2018 17:17
To: [hidden email]
Subject: Re: [wxPython-users] RE: wxPython 4 for RaspberryPi

 

Steve,

 

Cool stuff, and thanks for all your work!

 

On Thu, Oct 25, 2018 at 8:33 AM, Steve Barnes <[hidden email]> wrote:

There is a lovely service called Pi Wheels which on the latest version of Raspberrian is the first stop for downloading when doing a pip install, (https://www.piwheels.org is the site), but unfortunately it does not include wxPython.

 

 The same FAQ mentions that if a package is missing this is probably the reason and urges a package maintainer to raise a bug track on the site so as to specify the dependencies needed for the build to succeed.

 

kind or - -as a FAQ, it's worded as an answer to a question about "a package I maintain".  

 

 I am not an official maintainer of wxPython so cannot raise the necessary ticket on piwheels (if required I can provide the details of the dependencies that I had to install – I know that all of the official maintainers are super busy).

 

both wxPython and piwheels are open source projects, there is not reason whatsoever that you (or anyone) couldn't open an issue on gitHub with the information needed to build wxPython. YOu can't add code to either the piwheels ot wxPython projects yourself, but you can certanly post issues and Pull requests and let official maintainers take advantage of your experience.

 

In short -- as with any open source project -- if you have an itch you want to scratch -- do so, and the easier you make it for teh maintianers to include your work, the more likely it will be to get included.

 

>  In the meantime if anybody would like me to post a copy of my build of wxPython-4.0.3-cp35-cp35m-linux_armv7l.whl – (the majority of the wxDemo works with this build) - online somewhere let me know and I will do so and post a link.

 

On a related note -- there is a effort afoot to get conda-forge to build packages for the pi -- maybe you'd like to help out there?

 

 

 

-CHB

 

 

 

 

[Steve Barnes] For anybody interested the link is https://1drv.ms/f/s!AqaI6OSW79nRkVt20K_P6NjgnZr7

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.



 

--


Christopher Barker, Ph.D.
Oceanographer

[Steve Barnes]

Hi Chris,

 

Thank-you for the kind words. I intend to do just as you suggest, (unless I see any objections here), so hopefully should have some progress soon. I can certainly post to the Conda-Forge issue any results that I get – I normally don’t use Anaconda for a number of reasons may not get actively involved in that effort just yet.

 

Steve

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: wxPython 4 for RaspberryPi

GadgetSteve

 

 

From: [hidden email] <[hidden email]> On Behalf Of Steve Barnes
Sent: 27 October 2018 07:24
To: [hidden email]
Subject: RE: [wxPython-users] RE: wxPython 4 for RaspberryPi

 

 

 

From: 'Chris Barker' via wxPython-users <[hidden email]>
Sent: 26 October 2018 17:17
To: [hidden email]
Subject: Re: [wxPython-users] RE: wxPython 4 for RaspberryPi

 

Steve,

 

Cool stuff, and thanks for all your work!

 

On Thu, Oct 25, 2018 at 8:33 AM, Steve Barnes <[hidden email]> wrote:

There is a lovely service called Pi Wheels which on the latest version of Raspberrian is the first stop for downloading when doing a pip install, (https://www.piwheels.org is the site), but unfortunately it does not include wxPython.

 

 The same FAQ mentions that if a package is missing this is probably the reason and urges a package maintainer to raise a bug track on the site so as to specify the dependencies needed for the build to succeed.

 

kind or - -as a FAQ, it's worded as an answer to a question about "a package I maintain".  

 

 I am not an official maintainer of wxPython so cannot raise the necessary ticket on piwheels (if required I can provide the details of the dependencies that I had to install – I know that all of the official maintainers are super busy).

 

both wxPython and piwheels are open source projects, there is not reason whatsoever that you (or anyone) couldn't open an issue on gitHub with the information needed to build wxPython. YOu can't add code to either the piwheels ot wxPython projects yourself, but you can certanly post issues and Pull requests and let official maintainers take advantage of your experience.

 

In short -- as with any open source project -- if you have an itch you want to scratch -- do so, and the easier you make it for teh maintianers to include your work, the more likely it will be to get included.

 

>  In the meantime if anybody would like me to post a copy of my build of wxPython-4.0.3-cp35-cp35m-linux_armv7l.whl – (the majority of the wxDemo works with this build) - online somewhere let me know and I will do so and post a link.

 

On a related note -- there is a effort afoot to get conda-forge to build packages for the pi -- maybe you'd like to help out there?

 

 

 

-CHB

 

 

 

 

[Steve Barnes] For anybody interested the link is https://1drv.ms/f/s!AqaI6OSW79nRkVt20K_P6NjgnZr7

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.



 

--


Christopher Barker, Ph.D.
Oceanographer

[Steve Barnes]

Hi Chris,

 

Thank-you for the kind words. I intend to do just as you suggest, (unless I see any objections here), so hopefully should have some progress soon. I can certainly post to the Conda-Forge issue any results that I get – I normally don’t use Anaconda for a number of reasons may not get actively involved in that effort just yet.

 

Steve

 

[Steve Barnes] I have tested the build process on a Rasbian Lite installation and have had success building wxPython 4.0.3 for both Python 2.7.13 & 3.5.3 – accordingly I have raised a ticket (https://github.com/bennuttall/piwheels/issues/99) which will, hopefully result in the addition of wxPython 4 for RaspberryPi (saving about a 4 hour build process and a lot of downloading dev dependencies).

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.