re issue: "issue installing 4.04 on OpenSuse 15"

Hi. I’m trying to install WxPython on my windows laptop using pip on cygwin. The issue im encountering was mentioned in the topic thread mentioned in the subject line (" issue installing 4.04 on OpenSuse 15"). However, user johnf mentioned that he solved the problem " by following Ed Leafe’s email on the list" but did not specify what that was. Can someone help me find that solution. To clarify, the issue is that when i run “pip3 install wxPython”, i receive the following:

checking for GST… configure: WARNING: GStreamer 1.0 not available, falling back to 0.10

checking for GST… configure: WARNING: GStreamer 0.10 not available, falling back to 0.8

configure: WARNING: wxMediaCtrl can’t be built because GStreamer not available

configure: error: wxMediaCtrl was explicitly requested but can’t be built.

Fix the problems reported above or don’t use --enable-mediactrl configure option.

However, i am certain that i have gstreamer 1.0 installed

Do you also have the gstreamer development package installed?

BTW, wxPython is seldomly built for cygwin, so there are likely issues that will need fixing to get it to complete.

BTW2, I have a change on the way that will workaround situations where the mediactrl can’t be built. It let’s the wxWidgets configure option default to “auto” and also skips trying to use the library in the wxPython part of the build. https://github.com/RobinD42/Phoenix/commit/790c34e66f529994ce6d9576c881e0e4a88bf40b

···

On Friday, April 19, 2019 at 10:41:47 AM UTC-7, Dennis Williams wrote:

Hi. I’m trying to install WxPython on my windows laptop using pip on cygwin. The issue im encountering was mentioned in the topic thread mentioned in the subject line (" issue installing 4.04 on OpenSuse 15"). However, user johnf mentioned that he solved the problem " by following Ed Leafe’s email on the list" but did not specify what that was. Can someone help me find that solution. To clarify, the issue is that when i run “pip3 install wxPython”, i receive the following:

checking for GST… configure: WARNING: GStreamer 1.0 not available, falling back to 0.10

checking for GST… configure: WARNING: GStreamer 0.10 not available, falling back to 0.8

configure: WARNING: wxMediaCtrl can’t be built because GStreamer not available

configure: error: wxMediaCtrl was explicitly requested but can’t be built.

Fix the problems reported above or don’t use --enable-mediactrl configure option.

However, i am certain that i have gstreamer 1.0 installed

Robin

i do have the devel package installed

is there a bash shell better suited for this installation?

ill give it a look

···

On Fri, Apr 19, 2019 at 2:16 PM Robin Dunn robin@alldunn.com wrote:

On Friday, April 19, 2019 at 10:41:47 AM UTC-7, Dennis Williams wrote:

Hi. I’m trying to install WxPython on my windows laptop using pip on cygwin. The issue im encountering was mentioned in the topic thread mentioned in the subject line (" issue installing 4.04 on OpenSuse 15"). However, user johnf mentioned that he solved the problem " by following Ed Leafe’s email on the list" but did not specify what that was. Can someone help me find that solution. To clarify, the issue is that when i run “pip3 install wxPython”, i receive the following:

checking for GST… configure: WARNING: GStreamer 1.0 not available, falling back to 0.10

checking for GST… configure: WARNING: GStreamer 0.10 not available, falling back to 0.8

configure: WARNING: wxMediaCtrl can’t be built because GStreamer not available

configure: error: wxMediaCtrl was explicitly requested but can’t be built.

Fix the problems reported above or don’t use --enable-mediactrl configure option.

However, i am certain that i have gstreamer 1.0 installed

Do you also have the gstreamer development package installed?

BTW, wxPython is seldomly built for cygwin, so there are likely issues that will need fixing to get it to complete.

BTW2, I have a change on the way that will workaround situations where the mediactrl can’t be built. It let’s the wxWidgets configure option default to “auto” and also skips trying to use the library in the wxPython part of the build. https://github.com/RobinD42/Phoenix/commit/790c34e66f529994ce6d9576c881e0e4a88bf40b

Robin

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 wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

i took a look. this is going to probably seem like a dumb question but how do i edit that file? Doesn’t it have to stay as a tarball in order to run?

···

On Fri, Apr 19, 2019 at 2:17 PM Dennis Williams dwilliams104@uco.edu wrote:

i do have the devel package installed

is there a bash shell better suited for this installation?

ill give it a look

On Fri, Apr 19, 2019 at 2:16 PM Robin Dunn robin@alldunn.com wrote:

On Friday, April 19, 2019 at 10:41:47 AM UTC-7, Dennis Williams wrote:

Hi. I’m trying to install WxPython on my windows laptop using pip on cygwin. The issue im encountering was mentioned in the topic thread mentioned in the subject line (" issue installing 4.04 on OpenSuse 15"). However, user johnf mentioned that he solved the problem " by following Ed Leafe’s email on the list" but did not specify what that was. Can someone help me find that solution. To clarify, the issue is that when i run “pip3 install wxPython”, i receive the following:

checking for GST… configure: WARNING: GStreamer 1.0 not available, falling back to 0.10

checking for GST… configure: WARNING: GStreamer 0.10 not available, falling back to 0.8

configure: WARNING: wxMediaCtrl can’t be built because GStreamer not available

configure: error: wxMediaCtrl was explicitly requested but can’t be built.

Fix the problems reported above or don’t use --enable-mediactrl configure option.

However, i am certain that i have gstreamer 1.0 installed

Do you also have the gstreamer development package installed?

BTW, wxPython is seldomly built for cygwin, so there are likely issues that will need fixing to get it to complete.

BTW2, I have a change on the way that will workaround situations where the mediactrl can’t be built. It let’s the wxWidgets configure option default to “auto” and also skips trying to use the library in the wxPython part of the build. https://github.com/RobinD42/Phoenix/commit/790c34e66f529994ce6d9576c881e0e4a88bf40b

Robin

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 wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

The link is just showing the change that is part of the branch I am currently working on. If you want to try it out then I suggest that you extract everything from the 4.0.4 tarball, and then make the same changes in that source tree.

Then you can do the build directly from the source tree instead of using pip. Since you’ll likely need to make other changes to make things work for a cygwin-specific build then building this way will likely make it a little simpler to iterate through trying new changes and retrying the build again. The following can be done all at once, but doing them as separate commands may help you narrow down the source of any issues you run into:

  1. python build.py build_wx

  2. python build.py build_py

  3. python build.py bdist_wheel

If you can get through that then you have a wheel file in ./dist that you can install with pip.

Good Luck

···

On Friday, April 19, 2019 at 12:19:45 PM UTC-7, Dennis Williams wrote:

i took a look. this is going to probably seem like a dumb question but how do i edit that file? Doesn’t it have to stay as a tarball in order to run?

Robin

This is helping a lot. I was able to build the “_py” and I think I’ve eliminated most of what’s needed for the “_wx”. Will update later

···

On Fri, Apr 19, 2019 at 3:35 PM Robin Dunn robin@alldunn.com wrote:

On Friday, April 19, 2019 at 12:19:45 PM UTC-7, Dennis Williams wrote:

i took a look. this is going to probably seem like a dumb question but how do i edit that file? Doesn’t it have to stay as a tarball in order to run?

The link is just showing the change that is part of the branch I am currently working on. If you want to try it out then I suggest that you extract everything from the 4.0.4 tarball, and then make the same changes in that source tree.

Then you can do the build directly from the source tree instead of using pip. Since you’ll likely need to make other changes to make things work for a cygwin-specific build then building this way will likely make it a little simpler to iterate through trying new changes and retrying the build again. The following can be done all at once, but doing them as separate commands may help you narrow down the source of any issues you run into:

  1. python build.py build_wx
  1. python build.py build_py
  1. python build.py bdist_wheel

If you can get through that then you have a wheel file in ./dist that you can install with pip.

Good Luck

Robin

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 wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

I was making progress by slowly editing out requests for gstreamer and mediactrl. Ultimately I ended at an error that took me quite a bit and was advised to take a different approach to the project altogether

···

On Fri, Apr 19, 2019 at 4:40 PM Dennis Williams dwilliams104@uco.edu wrote:

This is helping a lot. I was able to build the “_py” and I think I’ve eliminated most of what’s needed for the “_wx”. Will update later

On Fri, Apr 19, 2019 at 3:35 PM Robin Dunn robin@alldunn.com wrote:

On Friday, April 19, 2019 at 12:19:45 PM UTC-7, Dennis Williams wrote:

i took a look. this is going to probably seem like a dumb question but how do i edit that file? Doesn’t it have to stay as a tarball in order to run?

The link is just showing the change that is part of the branch I am currently working on. If you want to try it out then I suggest that you extract everything from the 4.0.4 tarball, and then make the same changes in that source tree.

Then you can do the build directly from the source tree instead of using pip. Since you’ll likely need to make other changes to make things work for a cygwin-specific build then building this way will likely make it a little simpler to iterate through trying new changes and retrying the build again. The following can be done all at once, but doing them as separate commands may help you narrow down the source of any issues you run into:

  1. python build.py build_wx
  1. python build.py build_py
  1. python build.py bdist_wheel

If you can get through that then you have a wheel file in ./dist that you can install with pip.

Good Luck

Robin

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 wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.