Help needed on wxPython install

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 <handyratsniff@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.

My requirement is very simple, I have an application that I wish to use
which requires wxPython it can found here
iSiLK — Downloads

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
How to install wxPython - wxPyWiki
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

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

--

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

Chris.Barker@noaa.gov

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.

···

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

My requirement is very simple, I have an application that I wish to use

which requires wxPython it can found here

http://tools.netsa.cert.org/isilk/download.html#release-0.3.3

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

To unsubscribe, send email to wxPython-user...@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

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

Chris....@noaa.gov

On Ubuntu run this:

    sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n

That should give you wxPython 2.8.12.1 and its dependencies, and it also looks like that is the version that iSilk says that it requires.

···

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 Dunn
Software Craftsman

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?

Thanks very much

Andy

···

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.

On Ubuntu run this:

sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n

That should give you wxPython 2.8.12.1 and its dependencies, and it also
looks like that is the version that iSilk says that it requires.


Robin Dunn

Software Craftsman

http://wxPython.org

Google is your friend.

https://www.google.com/search?q=centos+6+wxpython

http://pkgs.org/download/wxPython

···

On 11/10/12 4:06 PM, Andrew Ratcliffe wrote:

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?

--
Robin Dunn
Software Craftsman