Dear Group, I'm new to wxPython and wxWidgets and I'm having a lot of problems trying to install them. Firstly please forgive my ignorance, I'm hoping this is the right group to ask this question of, but please redirect me to the correct one if not.
I'm not a developer all I need to is have the wxPython installed so that I can run the program that I'm downloading.
I have tried very hard, to make the programs and install them and done much google searching in the process but I'm stumpted. I seem to get lots of errors and even when I get past some I just get new ones. All I'm really needing is some simple clear instructions for the installation and just can't find any. I'm trying to install on Linux, xubuntu and Centos 6.3 (I'd be happy if I could get it working on both but either will do.) I started with easy_install wxpython error: Couldn't find a setup script in /tmp/easy_install-Wm0tJs/wxPython-src-2.9.4.0.tar.bz2
So I thought I'd build from source, however, the installation instructions seem to be written for a development environment not a simple install, nevertheless I persevered. I built and installed wxGTK first following the instructions here http://wiki.wxpython.org/How%20to%20install%20wxPython The wxGTK build and install went fine, but unfortunately the wxPython is not going well and I suspect the instructions may be out of date. The wxPython is a subdirectory of the distribution which isn't mentioned but I tried to follow the instructions from that directory instead. Initially the build fails with problems find header files wx.h I can find the header files and many posts on web mention this issue, I did as one post suggested and add symbolic links to /usr/local/include/wx Now it says that I don't have the openGL libs installed, but I think I do, but as there are no dependencies listed that I can see. It's possible I don't have the right library installed and it may also be that it's looking in the wrong place again.
It's all getting a bit messy for me, I'd be a lot happier starting again with some good instructions for installing the stable release not for development but just for using on my systems.
<handyratsn...@googlemail.com> wrote:
> Dear Group,
> I'm new to wxPython and wxWidgets and I'm having a lot of problems trying to
> install them. Firstly please forgive my ignorance, I'm hoping this is the
> right group to ask this question of, but please redirect me to the correct
> one if not.
> I'm not a developer all I need to is have the wxPython installed so that I
> can run the program that I'm downloading.
> I have tried very hard, to make the programs and install them and done much
> google searching in the process but I'm stumpted. I seem to get lots of
> errors and even when I get past some I just get new ones.
> All I'm really needing is some simple clear instructions for the
> installation and just can't find any.
> I'm trying to install on Linux, xubuntu and Centos 6.3 (I'd be happy if I
> could get it working on both but either will do.)
> I started with
> easy_install wxpython
> error: Couldn't find a setup script in
> /tmp/easy_install-Wm0tJs/wxPython-src-2.9.4.0.tar.bz2
> So I thought I'd build from source, however, the installation instructions
> seem to be written for a development environment not a simple install,
> nevertheless I persevered.
> I built and installed wxGTK first following the instructions here
> http://wiki.wxpython.org/How%20to%20install%20wxPython > The wxGTK build and install went fine, but unfortunately the wxPython is not
> going well and I suspect the instructions may be out of date.
> The wxPython is a subdirectory of the distribution which isn't mentioned but
> I tried to follow the instructions from that directory instead.
> Initially the build fails with problems find header files wx.h
> I can find the header files and many posts on web mention this issue, I did
> as one post suggested and add symbolic links to /usr/local/include/wx
> Now it says that I don't have the openGL libs installed, but I think I do,
> but as there are no dependencies listed that I can see. It's possible I
> don't have the right library installed and it may also be that it's looking
> in the wrong place again.
> It's all getting a bit messy for me, I'd be a lot happier starting again
> with some good instructions for installing the stable release not for
> development but just for using on my systems.
> Any help much appreciated.
> Kind regards,
> Andy
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
I did try that but I couldn't find it Precise Pangolin or on Centos 6.3. I tried adding the Natty version to xubuntu and this seems to work partially but 'import wx' complains of a missing wx core?? It's very difficult as there does not seem to be a list of required components to follow anywhere.
On Friday, November 9, 2012 7:50:00 PM UTC, Chris Barker wrote:
> I do hope you've looked for native CentoOS and Ubuntu packages -- they > are probably there!
> Or do you need a newer version than they provide?
> -Chris
> On Fri, Nov 9, 2012 at 8:56 AM, Andrew Ratcliffe > <handyr...@googlemail.com <javascript:>> wrote: > > Dear Group, > > I'm new to wxPython and wxWidgets and I'm having a lot of problems > trying to > > install them. Firstly please forgive my ignorance, I'm hoping this is > the > > right group to ask this question of, but please redirect me to the > correct > > one if not.
> > I'm not a developer all I need to is have the wxPython installed so that > I > > can run the program that I'm downloading.
> > I have tried very hard, to make the programs and install them and done > much > > google searching in the process but I'm stumpted. I seem to get lots of > > errors and even when I get past some I just get new ones. > > All I'm really needing is some simple clear instructions for the > > installation and just can't find any. > > I'm trying to install on Linux, xubuntu and Centos 6.3 (I'd be happy if > I > > could get it working on both but either will do.) > > I started with > > easy_install wxpython > > error: Couldn't find a setup script in > > /tmp/easy_install-Wm0tJs/wxPython-src-2.9.4.0.tar.bz2
> > So I thought I'd build from source, however, the installation > instructions > > seem to be written for a development environment not a simple install, > > nevertheless I persevered. > > I built and installed wxGTK first following the instructions here > > http://wiki.wxpython.org/How%20to%20install%20wxPython > > The wxGTK build and install went fine, but unfortunately the wxPython is > not > > going well and I suspect the instructions may be out of date. > > The wxPython is a subdirectory of the distribution which isn't mentioned > but > > I tried to follow the instructions from that directory instead. > > Initially the build fails with problems find header files wx.h > > I can find the header files and many posts on web mention this issue, I > did > > as one post suggested and add symbolic links to /usr/local/include/wx > > Now it says that I don't have the openGL libs installed, but I think I > do, > > but as there are no dependencies listed that I can see. It's possible I > > don't have the right library installed and it may also be that it's > looking > > in the wrong place again.
> > It's all getting a bit messy for me, I'd be a lot happier starting again > > with some good instructions for installing the stable release not for > > development but just for using on my systems.
> > Any help much appreciated. > > Kind regards, > > Andy
> I did try that but I couldn't find it Precise Pangolin or on Centos 6.3.
> I tried adding the Natty version to xubuntu and this seems to work
> partially but 'import wx' complains of a missing wx core??
> It's very difficult as there does not seem to be a list of required
> components to follow anywhere.
Robin, Thanks, I think it's fair to say I made something of a mess by trying too many different things. I started from scratch with a new VM Xubuntu 12.04 and followed the instructions you very kindly posted and It works fine.
Is there a similar simple way to add wxpython to CentOS 6.3 with yum?
On Saturday, November 10, 2012 9:20:31 AM UTC, Robin Dunn wrote:
> On 11/9/12 2:54 PM, Andrew Ratcliffe wrote: > > Thanks for the reply
> > I did try that but I couldn't find it Precise Pangolin or on Centos 6.3. > > I tried adding the Natty version to xubuntu and this seems to work > > partially but 'import wx' complains of a missing wx core?? > > It's very difficult as there does not seem to be a list of required > > components to follow anywhere.
> Robin,
> Thanks, I think it's fair to say I made something of a mess by trying
> too many different things. I started from scratch with a new VM Xubuntu
> 12.04 and followed the instructions you very kindly posted and It works
> fine.
> Is there a similar simple way to add wxpython to CentOS 6.3 with yum?