-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing package: wxPython #1
Comments
I've installed these dependencies and kicked off the builders, will see if that's successful. |
That didn't fix it. It looks like something else is missing. |
Now following full set of build instructions... this could take a while. |
wxPython Classic or Phoenix?
Upon doing a little research, Classic doesn't look like a good idea. On the piwheels home page, looks like we're building for Python 3.4/3.5. So, wxPython 4.0.3 it is then. |
Update: first attempt failed - ran out of disk space. I'll have to pick up a 32 GB SD card and move the image over. Hope the next try does better. 🚀 |
Yes, we have Jessie (3.4) and Stretch (3.5) builders. Try on Stretch and then check the package names match on Stretch, or find alternatives. See our deploy script here: https://github.com/bennuttall/piwheels/blob/master/deploy_slave.sh |
Thanks, Ben. So, just to make sure I'm understanding the process here. I'm doing a build of wxPython 4.0.3 locally following these instructions: https://wiki.wxpython.org/BuildWxPythonOnRaspberryPi - then, once successful, deploy with the bash script you linked above. Seems like I'm missing a piece here, but I'll pick things up as I go. On a separate note, I've got a cluster built with 5 RPi 2 boards sitting around doing nothing at the moment. Could that be put to gainful use for this project? |
If you manage to build it successfully, let us know how. If it's simply a case of missing dependencies from the build script, you can edit the deploy script as a PR. If you had to do more, provide as much detail as possible and we'll see what we can do.
We use Mythic Beasts' hosted Pi service so we're not in need of any more hardware, but if you want to set up the piwheels service on that you can follow instructions here and try it yourself. If you want a full list of missing packages that haven't been reported you could try and see if you can fix those. |
Thanks! I was over-thinking it, for sure. I'll continue trying to get a successful build and comment back here again. |
Build was successful (second attempt with 32 GB SD card). Followed all the steps that I mentioned previously on the wiki.wxpython.org site. I'll look through the deploy script and see if I spot any discrepancies. |
I was trying to install this earlier today and found I had to go through a very long build process because there's no wheel in piwheels (all the builds are listed as failing). To get this to work, I ended up doing the following:
Update: Looks like I probably need to research this a bit more, and that someone else may have installed other software on our Pi here before I tried this out, so I'm no longer sure the steps above are enough. If I get time this week, I'll try to run through another install on a fresh system. |
I did some further investigation of this today with a fresh install of Raspbian. It appears to me that the only issue here is that wxPython is currently broken in the latest release in such a way that it requires I've created a pull request (piwheels/piwheels#199) that would address this for piwheels, but it's not clear to me whether you'd really want that, or if the better approach is to wait for the upstream project to get their ducks back in a row. |
Since I've re-enabled wxPython we've now got some successful builds. However, the latest 4.1.1 build failed on buster (cp37m). I've had a quick skim of the build output and it looks like a genuine failure (not out of disk space or anything like that); some incompatibility of the wxPython code and the Pi's /opt/vc gl libs. If anyone's interested in digging further into this, feel free to leave a comment and I'll pastebin the build log somewhere but for now I'd consider this "resolved" (given we've got at least some successful builds on both ABIs). |
Missing package
Package name:
wxPython
Link to PyPI page: https://pypi.org/project/wxPython
Link to piwheels page: https://www.piwheels.org/project/wxPython
Version: all
The project's wiki states these as build dependencies:
https://wxpython.org/blog/2017-08-17-builds-for-linux-with-pip/index.html
The text was updated successfully, but these errors were encountered: