Wxpython 2.8 and 3.x

Hello,

Im running Ubuntu 14.04 64bits, comes with python 2.7 and wxPython 2.8.x, whats the safety way for install wxPython 3 here and keep both versions running and working?

I need keep the versions installed from repos.. so how can proceed? Install virtualenv and inside wxpython 3? or??

Thanks in advance!

···

--

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Mascotas Perdidas:: http://mascotas-perdidas.com/
Google Talk / Y! messenger / Skype: mlacunzav
MSN: mlacunzav@hotmail.com

use:
import wxversion

wxversion.select(‘3.0’)

I had to play with the wxversion source code to get it to work with longer, more verbose version strings such as ‘wx-3.0.1-msw-classic’ but other didn’t seem to have that problem, so I am not sure what the issue was for me there.

Here is my modification:

https://groups.google.com/d/msg/wxpython-dev/X2CTRbZtQCk/m4uxQV_xcj0J

···

On Tuesday, August 12, 2014 10:00:01 AM UTC-7, Mario Lacunza wrote:

Hello,

Im running Ubuntu 14.04 64bits, comes with python 2.7 and wxPython
2.8.x, whats the safety way for install wxPython 3 here and keep both
versions running and working?

I need keep the versions installed from repos… so how can proceed?
Install virtualenv and inside wxpython 3? or??

Thanks in advance!

Saludos / Best regards

Mario Lacunza

Email:: mlac...@gmail.com

Personal Website:: http://www.lacunza.biz/

Hosting:: http://mlv-host.com/

Mascotas Perdidas:: http://mascotas-perdidas.com/

Google Talk / Y! messenger / Skype: mlacunzav

MSN: mlac...@hotmail.com

Thanks Nathan! that fix the version problem running 2 versions...

I'll wait for some advise about how is the better way for install both in the same machine.

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Mascotas Perdidas:: http://mascotas-perdidas.com/
Google Talk / Y! messenger / Skype: mlacunzav
MSN: mlacunzav@hotmail.com

···

El 12/08/14 a las #4, Nathan McCorkle escribió:

use:
import wxversion
wxversion.select('3.0')

I had to play with the wxversion source code to get it to work with longer, more verbose version strings such as 'wx-3.0.1-msw-classic' but other didn't seem to have that problem, so I am not sure what the issue was for me there.
Here is my modification:
https://groups.google.com/d/msg/wxpython-dev/X2CTRbZtQCk/m4uxQV_xcj0J

On Tuesday, August 12, 2014 10:00:01 AM UTC-7, Mario Lacunza wrote:

    Hello,

    Im running Ubuntu 14.04 64bits, comes with python 2.7 and wxPython
    2.8.x, whats the safety way for install wxPython 3 here and keep both
    versions running and working?

    I need keep the versions installed from repos.. so how can proceed?
    Install virtualenv and inside wxpython 3? or??

    Thanks in advance!

    --

    Saludos / Best regards

    Mario Lacunza
    Email:: mlac...@gmail.com <javascript:>
    Personal Website:: http://www.lacunza.biz/
    Hosting:: http://mlv-host.com/
    Mascotas Perdidas:: http://mascotas-perdidas.com/
    Google Talk / Y! messenger / Skype: mlacunzav
    MSN: mlac...@hotmail.com <javascript:>

I’ve got them side-by-side in my python libs folder, no problems for me.

···

On Tuesday, August 12, 2014 11:55:22 AM UTC-7, Mario Lacunza wrote:

Thanks Nathan! that fix the version problem running 2 versions…

I’ll wait for some advise about how is the better way for install both
in the same machine.

So download it and how you installed it? are you using a Linux system?

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Mascotas Perdidas:: http://mascotas-perdidas.com/
Google Talk / Y! messenger / Skype: mlacunzav
MSN: mlacunzav@hotmail.com

···

El 12/08/14 a las #4, Nathan McCorkle escribió:

On Tuesday, August 12, 2014 11:55:22 AM UTC-7, Mario Lacunza wrote:

    Thanks Nathan! that fix the version problem running 2 versions...

    I'll wait for some advise about how is the better way for install
    both
    in the same machine.

I've got them side-by-side in my python libs folder, no problems for me.

I’m on Windows, but I assume that as long as the directory in site-packages (or wherever you’re keeping your Python packages/modules) has a unique name for each version, wxversion should handle that for you.

If you’re trying to build wxpython and it’s over-writing your previous version’s binary, then it is most likely some PATH related lines in the config/Make files… or passing the --prefix flag with the path where you want the built files to end up.

···

On Tuesday, August 12, 2014 2:02:24 PM UTC-7, Mario Lacunza wrote:

So download it and how you installed it? are you using a Linux system?

In my Ubuntu 12.04 LTS I managed to install it with checkinstall successfully. I have also created a virtualenv with success.(which creates a local deb so that uninstallation is easy)

I used the standard destribution from http://www.wxpython.org.

Some things to keep in mind:

  • I have build against Gtk2 libs and not Gtk3. I think that this is standard behaviour
  • In a prevous thread of this group someone build debs against wxpython 2.9. The only reason I refer to them is that I have used them in order to download dependencies which may be a problem to my experience.
  • I never managed to build WebView support and I haven’t researched the problem as I don’t need this functionality.
    Regards,

Τη Τετάρτη, 13 Αυγούστου 2014 12:02:24 π.μ. UTC+3, ο χρήστης Mario Lacunza έγραψε:

···

So download it and how you installed it? are you using a Linux system?

Saludos / Best regards

Mario Lacunza

Email:: mlac...@gmail.com

Personal Website:: http://www.lacunza.biz/

Hosting:: http://mlv-host.com/

Mascotas Perdidas:: http://mascotas-perdidas.com/

Google Talk / Y! messenger / Skype: mlacunzav

MSN: mlac...@hotmail.com

El 12/08/14 a las #4, Nathan McCorkle escribió:

On Tuesday, August 12, 2014 11:55:22 AM UTC-7, Mario Lacunza wrote:

Thanks Nathan! that fix the version problem running 2 versions...
I'll wait for some advise about how is the better way for install
both
in the same machine.

I’ve got them side-by-side in my python libs folder, no problems for me.