Error compiliing wxPython v 3

Hello,

I receipt the following error trying to compile wxPython v.3.0 in Ubuntu 14.04 32 bits, any idea??

/home/mario/Descargas/wxPython-src-3.0.0.0/src/gtk/toplevel.cpp:515:23: warning: ‘void gdk_threads_leave()’ is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkthreads.h:48) [-Wdeprecated-declarations]

 gdk_threads_leave();
                   ^

/home/mario/Descargas/wxPython-src-3.0.0.0/src/gtk/toplevel.cpp: In member function ‘bool wxTopLevelWindowGTK::Create(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxString&)’:

/home/mario/Descargas/wxPython-src-3.0.0.0/src/gtk/toplevel.cpp:733:78: error: ‘GDK_IS_WAYLAND_SCREEN’ was not declared in this scope
GDK_IS_WAYLAND_SCREEN(gtk_window_get_screen(GTK_WINDOW(m_widget))) &&

                                                                          ^

make: *** [coredll_gtk_toplevel.o] Error 1
Error building
ERROR: failed building wxWidgets
Traceback (most recent call last):

File “build-wxpython.py”, line 378, in
wxbuild.main(wxscript, build_options)
File “/home/mario/Descargas/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 478, in main

exitIfError(wxBuilder.build(dir=buildDir, options=args), "Error building")

File “/home/mario/Descargas/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 80, in exitIfError
raise builder.BuildError(msg)

BuildError

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

Lima - Peru

Google seems to have a few references to this error, and one person said the fix was to use the latest wxWidgets 3.0.0 git/svn branch. That was on April 21 2014… are you using a release dated after then?

···

On Friday, August 29, 2014 3:18:20 PM UTC-7, Mario Lacunza wrote:

Hello,

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

Lima - Peru

I receipt the following error trying to compile wxPython v.3.0 in Ubuntu 14.04 32 bits, any idea??

/home/mario/Descargas/wxPython-src-3.0.0.0/src/gtk/toplevel.cpp:515:23: warning: ‘void gdk_threads_leave()’ is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkthreads.h:48) [-Wdeprecated-declarations]

 gdk_threads_leave();
                   ^

/home/mario/Descargas/wxPython-src-3.0.0.0/src/gtk/toplevel.cpp: In member function ‘bool wxTopLevelWindowGTK::Create(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxString&)’:

/home/mario/Descargas/wxPython-src-3.0.0.0/src/gtk/toplevel.cpp:733:78: error: ‘GDK_IS_WAYLAND_SCREEN’ was not declared in this scope
GDK_IS_WAYLAND_SCREEN(gtk_window_get_screen(GTK_WINDOW(m_widget))) &&

                                                                          ^

make: *** [coredll_gtk_toplevel.o] Error 1
Error building
ERROR: failed building wxWidgets
Traceback (most recent call last):

File “build-wxpython.py”, line 378, in
wxbuild.main(wxscript, build_options)
File “/home/mario/Descargas/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 478, in main

exitIfError(wxBuilder.build(dir=buildDir, options=args), "Error building")

File “/home/mario/Descargas/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 80, in exitIfError
raise builder.BuildError(msg)

BuildError

This looks like it may be the fix:

http://trac.wxwidgets.org/changeset/75182

···

On Friday, August 29, 2014 3:27:05 PM UTC-7, Nathan McCorkle wrote:

Google seems to have a few references to this error, and one person said the fix was to use the latest wxWidgets 3.0.0 git/svn branch. That was on April 21 2014… are you using a release dated after then?

Hello Nathan,

thanks for your answer!

Im using the libraries from Ubuntu 14.04 distribution, I can install the latest wxWidgets version I can found (3.0.1 made on June 17 2014) from repos following this:

sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc

sudo apt-add-repository 'deb Index of /wx3.0.1/ubuntu trusty universe'

sudo apt-get update

sudo apt-get install libwxbase3.0-0-unofficial libwxbase3.0-dev libwxgtk3.0-0-unofficial libwxgtk3.0-dev wx3.0-headers wx-common

But I get again the same error, maybe I missing something? some param can I pass to the compiling instruction? 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

···

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

On Friday, August 29, 2014 3:27:05 PM UTC-7, Nathan McCorkle wrote:

    Google seems to have a few references to this error, and one
    person said the fix was to use the latest wxWidgets 3.0.0 git/svn
    branch. That was on April 21 2014... are you using a release dated
    after then?

This looks like it may be the fix:
wxTrac has been migrated to GitHub Issues - wxWidgets
--
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 <mailto:wxpython-users+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

Mario:

You could use the libwxgtk3.0-dev official ubuntu 14.04 package (that matches the version of wxPython you’re trying to build)

Just do:

sudo apt-get libwxgtk3.0-dev

cd wxPython-src-3.0.0.0/wxPython

sudo python setup.py install

That worked for me IIRC, let me know if it works for you too, I’ld like to update the checkinstall wiki page:

http://wiki.wxpython.org/CheckInstall

Best regards,

···

Mariano Reingart
http://www.sistemasagiles.com.ar

http://reingart.blogspot.com

On Fri, Aug 29, 2014 at 9:41 PM, Mario Lacunza mlacunza@gmail.com wrote:

Hello Nathan,

  thanks for your answer!



  Im using the libraries from Ubuntu 14.04 distribution, I can

install the latest wxWidgets version I can found (3.0.1 made on
June 17 2014) from repos following this:

  sudo apt-key adv --fetch-keys

http://repos.codelite.org/CodeLite.asc

  sudo apt-add-repository 'deb

http://repos.codelite.org/wx3.0.1/ubuntu/ trusty universe’

  sudo apt-get update



  sudo apt-get install libwxbase3.0-0-unofficial libwxbase3.0-dev

libwxgtk3.0-0-unofficial libwxgtk3.0-dev wx3.0-headers wx-common

  But I get again the same error, maybe I missing something? some

param can I pass to the compiling instruction? thanks in advance!


Saludos / Best regards
Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: [http://www.lacunza.biz/](http://www.lacunza.biz/)
Hosting:: [http://mlv-host.com/](http://mlv-host.com/)
Mascotas Perdidas:: [http://mascotas-perdidas.com/](http://mascotas-perdidas.com/)

Google Talk / Y! messenger / Skype: mlacunzav
MSN: mlacunzav@hotmail.com
El 29/08/14 a las #4, Nathan McCorkle escribió:

    On Friday, August 29, 2014 3:27:05 PM UTC-7, Nathan McCorkle

wrote:

        Google seems to have a few references to this

error, and one person said the fix was to use the latest
wxWidgets 3.0.0 git/svn branch. That was on April 21 2014…
are you using a release dated after then?

This looks like it may be the fix:

http://trac.wxwidgets.org/changeset/75182

  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](https://groups.google.com/d/optout).

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.

Mariano:

I use it the first time I build it with this command:

python2.7 build-wxpython.py --build_dir=../bld

your command replace my actual wxpython 2.8? I want to install both versions...

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 29/08/14 a las #4, Mariano Reingart escribió:

Mario:

You could use the libwxgtk3.0-dev official ubuntu 14.04 package (that matches the version of wxPython you're trying to build)

Just do:

sudo apt-get libwxgtk3.0-dev
cd wxPython-src-3.0.0.0/wxPython
sudo python setup.py install

That worked for me IIRC, let me know if it works for you too, I'ld like to update the checkinstall wiki page:

CheckInstall - wxPyWiki

Best regards,

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com

On Fri, Aug 29, 2014 at 9:41 PM, Mario Lacunza <mlacunza@gmail.com > <mailto:mlacunza@gmail.com>> wrote:

    Hello Nathan,

    thanks for your answer!

    Im using the libraries from Ubuntu 14.04 distribution, I can
    install the latest wxWidgets version I can found (3.0.1 made on
    June 17 2014) from repos following this:

    sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc

    sudo apt-add-repository 'deb
    Index of /wx3.0.1/ubuntu trusty universe'

    sudo apt-get update

    sudo apt-get install libwxbase3.0-0-unofficial libwxbase3.0-dev
    libwxgtk3.0-0-unofficial libwxgtk3.0-dev wx3.0-headers wx-common

    But I get again the same error, maybe I missing something? some
    param can I pass to the compiling instruction? thanks in advance!

    Saludos / Best regards

    Mario Lacunza
    Email::mlacunza@gmail.com <mailto: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 <mailto:mlacunzav@hotmail.com>

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

    On Friday, August 29, 2014 3:27:05 PM UTC-7, Nathan McCorkle wrote:

        Google seems to have a few references to this error, and one
        person said the fix was to use the latest wxWidgets 3.0.0
        git/svn branch. That was on April 21 2014... are you using a
        release dated after then?

    This looks like it may be the fix:
    wxTrac has been migrated to GitHub Issues - wxWidgets
    -- 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
    <mailto:wxpython-users+unsubscribe@googlegroups.com>.
    For more options, visit https://groups.google.com/d/optout.

    -- 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
    <mailto:wxpython-users+unsubscribe@googlegroups.com>.
    For more options, visit https://groups.google.com/d/optout.

--
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 <mailto:wxpython-users+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

There is no need to use build-wxpython.py directly, as it doesn’t has to compile wxWidgets nor doing any fancy configuration.

To avoid the installation, you can just do

···

python setup.py build

Anyway, I don’t think it wil replace the 2.8 package, but probably 3.0 will be the default.

If you want 2.8 by default, you’ll have to tweak some paths in the python site packages folder, for example:

/usr/local/lib/python2.7/dist-packages/wx.pth

/usr/local/lib/python2.7/site-packages/wx.pth

or wherever you installed it

For more info, see

http://wiki.wxpython.org/MultiVersionInstalls#How_do_I_manually_convert_an_existing_install_to_a_multi-version.3F

Best regards,

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com

PS: we should start a spanish wxpython list :wink:

On Fri, Aug 29, 2014 at 10:43 PM, Mario Lacunza mlacunza@gmail.com wrote:

Mariano:

  I use it the first time I build it with this command:
python2.7 build-wxpython.py --build_dir=../bld
  your command replace my actual wxpython 2.8? I want to install

both versions…


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

El 29/08/14 a las #4, Mariano Reingart escribió:

Mario:

      You could use the libwxgtk3.0-dev official ubuntu 14.04

package (that matches the version of wxPython you’re trying to
build)

Just do:

sudo apt-get libwxgtk3.0-dev

cd wxPython-src-3.0.0.0/wxPython

        sudo

python setup.py install

      That worked for me IIRC, let me know if it works for you

too, I’ld like to update the checkinstall wiki page:

http://wiki.wxpython.org/CheckInstall

Best regards,

  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](https://groups.google.com/d/optout).

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.

Mariano Reingart

        [http://www.sistemasagiles.com.ar](http://www.sistemasagiles.com.ar)

        [http://reingart.blogspot.com](http://reingart.blogspot.com)

        On Fri, Aug 29, 2014 at 9:41 PM,

Mario Lacunza mlacunza@gmail.com
wrote:

Hello Nathan,

              thanks for your answer!



              Im using the libraries from Ubuntu 14.04 distribution,

I can install the latest wxWidgets version I can found
(3.0.1 made on June 17 2014) from repos following
this:

              sudo apt-key adv --fetch-keys [http://repos.codelite.org/CodeLite.asc](http://repos.codelite.org/CodeLite.asc)



              sudo apt-add-repository 'deb [http://repos.codelite.org/wx3.0.1/ubuntu/](http://repos.codelite.org/wx3.0.1/ubuntu/)
              trusty universe'



              sudo apt-get update



              sudo apt-get install libwxbase3.0-0-unofficial

libwxbase3.0-dev libwxgtk3.0-0-unofficial
libwxgtk3.0-dev wx3.0-headers wx-common

              But I get again the same error, maybe I missing

something? some param can I pass to the compiling
instruction? thanks in advance!


Saludos / Best regards
Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: [http://www.lacunza.biz/](http://www.lacunza.biz/)
Hosting:: [http://mlv-host.com/](http://mlv-host.com/)
Mascotas Perdidas:: [http://mascotas-perdidas.com/](http://mascotas-perdidas.com/)

Google Talk / Y! messenger / Skype: mlacunzav
MSN: mlacunzav@hotmail.com
El 29/08/14 a las #4, Nathan McCorkle escribió:

                    On Friday, August 29, 2014 3:27:05 PM UTC-7,

Nathan McCorkle wrote:

                        Google seems to have a few

references to this error, and one person
said the fix was to use the latest wxWidgets
3.0.0 git/svn branch. That was on April 21
2014… are you using a release dated after
then?

This looks like it may be the fix:

http://trac.wxwidgets.org/changeset/75182

                  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](https://groups.google.com/d/optout).

              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](https://groups.google.com/d/optout).

Mariano,

I use the latest wxwidgets packages I already installed (3.0.1) and all was fine but at the end show this error:

Writing /usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2/wxPython-3.0.0.0.egg-info
warning: wx_install: path file '/usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2.pth' not created

mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:38)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "wx/__init__.py", line 45, in <module>
     from wx._core import *
   File "wx/_core.py", line 4, in <module>
     import _core_
ImportError: No module named _core_
>>>

how can I fix it?

and that procedure replace my actual wxpython 2.8 installation, I dont want it, I need both versions installed. Thanks!

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 29/08/14 a las #4, Mariano Reingart escribió:

Mario:

You could use the libwxgtk3.0-dev official ubuntu 14.04 package (that matches the version of wxPython you're trying to build)

Just do:

sudo apt-get libwxgtk3.0-dev
cd wxPython-src-3.0.0.0/wxPython
sudo python setup.py install

That worked for me IIRC, let me know if it works for you too, I'ld like to update the checkinstall wiki page:

CheckInstall - wxPyWiki

Best regards,

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com

On Fri, Aug 29, 2014 at 9:41 PM, Mario Lacunza <mlacunza@gmail.com > <mailto:mlacunza@gmail.com>> wrote:

    Hello Nathan,

    thanks for your answer!

    Im using the libraries from Ubuntu 14.04 distribution, I can
    install the latest wxWidgets version I can found (3.0.1 made on
    June 17 2014) from repos following this:

    sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc

    sudo apt-add-repository 'deb
    Index of /wx3.0.1/ubuntu trusty universe'

    sudo apt-get update

    sudo apt-get install libwxbase3.0-0-unofficial libwxbase3.0-dev
    libwxgtk3.0-0-unofficial libwxgtk3.0-dev wx3.0-headers wx-common

    But I get again the same error, maybe I missing something? some
    param can I pass to the compiling instruction? thanks in advance!

    Saludos / Best regards

    Mario Lacunza
    Email::mlacunza@gmail.com <mailto: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 <mailto:mlacunzav@hotmail.com>

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

    On Friday, August 29, 2014 3:27:05 PM UTC-7, Nathan McCorkle wrote:

        Google seems to have a few references to this error, and one
        person said the fix was to use the latest wxWidgets 3.0.0
        git/svn branch. That was on April 21 2014... are you using a
        release dated after then?

    This looks like it may be the fix:
    wxTrac has been migrated to GitHub Issues - wxWidgets
    -- 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
    <mailto:wxpython-users+unsubscribe@googlegroups.com>.
    For more options, visit https://groups.google.com/d/optout.

    -- 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
    <mailto:wxpython-users+unsubscribe@googlegroups.com>.
    For more options, visit https://groups.google.com/d/optout.

--
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 <mailto:wxpython-users+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

Mariano,

I use the latest wxwidgets packages I already installed (3.0.1) and all
was fine but at the end show this error:

Writing
/usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2/wxPython-3.0.0.0.egg-info
warning: wx_install: path file
'/usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2.pth' not created

Did you run it with sudo?
Anyway, it is not an error, just a warning, maybe wx-3.0-gtk2.pth was
already there

mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:38)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "wx/__init__.py", line 45, in <module>
    from wx._core import *
  File "wx/_core.py", line 4, in <module>
    import _core_
ImportError: No module named _core_
>>>

Python is not finding the shared library, run:

sudo ldconfig

http://wiki.wxpython.org/CheckInstall#Shared_Libraries_.28ldconfig.29

Note that you're sit in a directory where wx package is build, so it will
try to use that before the system-wide depending on your PYTHONPATH and
LD_LIBRARY_PATH.
Try changing to other directory, or doing:

ldconfig ~/Descargas/wxPython-src-3.0.0.0/wxPython/wx

You may need to review LD_LIBRARY_PATH if the problem persist

how can I fix it?

and that procedure replace my actual wxpython 2.8 installation, I dont
want it, I need both versions installed. Thanks!

I don't fully understand what you mean, but you should remove failed builds
from /usr/local/lib/python2.7/ to avoid problems with previous packages.

wxPython 2.8 and 3.0 could coexist, maybe 3.0.0 and 3.0.1 too

Best regards

Mariano Reingart
http://www.sistemasagiles.com.ar

···

On Fri, Aug 29, 2014 at 11:05 PM, Mario Lacunza <mlacunza@gmail.com> wrote:

In my experience on Windows, all the dependencies like wxWidgets (the compile objects, DLLs on windows) are in the wxPython-VERSION_NUMBER directories… so as long as the wxWidgets .so files have different version numbers there should be no problems with the backend binaries conflicting. I think. I haven’t compiled seriously on Linux in about a year.

I’ve got 2.9.4, 3.0.0, and 3.0.1 on Windows all next to each other in my Python package folder.

···

On Friday, August 29, 2014 8:22:06 PM UTC-7, Mariano Reingart wrote:

wxPython 2.8 and 3.0 could coexist, maybe 3.0.0 and 3.0.1 too

OK
I run the same from the main folder in terminal and the same error,
I apply the fix you recommended and the same error.
Same error…
Its my first time trying to compile wxpython and Im using a VM for
it, so if you send some info about how to correct build it again in
Ubuntu 14.04 I can create another clean Vm and start doing it
Mario

···

Hello Mariano,

  responses between lines...

  El 29/08/14 a las #4, Mariano Reingart escribió:

Saludos / Best regards
Mario Lacunza
Email:: Personal Website:: Hosting:: Mascotas Perdidas:: Google Talk / Y! messenger / Skype: mlacunzav
MSN:

mlacunza@gmail.comhttp://www.lacunza.biz/http://mlv-host.com/http://mascotas-perdidas.com/mlacunzav@hotmail.com

        On Fri, Aug 29, 2014 at 11:05 PM,

Mario Lacunza mlacunza@gmail.com
wrote:

Mariano,

              I use the latest wxwidgets packages I already

installed (3.0.1) and all was fine but at the end show
this error:

              Writing

/usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2/wxPython-3.0.0.0.egg-info

              warning: wx_install: path file

‘/usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2.pth’
not created

Did you run it with sudo?

          Anyway, it is not an error, just a warning, maybe

wx-3.0-gtk2.pth was already there

mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$
python

              Python 2.7.6 (default, Mar 22 2014, 22:59:38)

              [GCC 4.8.2] on linux2

              Type "help", "copyright", "credits" or "license" for

more information.

              >>> import wx


                Traceback (most recent call last):

File “”, line 1, in

                File "wx/__init__.py", line 45, in <module>

                  from wx._core import *

                File "wx/_core.py", line 4, in <module>

                  import _core_

              ImportError: No module named _core_

              >>>

Python is not finding the shared library, run:

sudo ldconfig

http://wiki.wxpython.org/CheckInstall#Shared_Libraries_.28ldconfig.29

            Note that you're sit in a directory where wx package

is build, so it will try to use that before the
system-wide depending on your PYTHONPATH and
LD_LIBRARY_PATH.

Try changing to other directory, or doing:

ldconfig ~/Descargas/wxPython-src-3.0.0.0/wxPython/wx

          You may need to review LD_LIBRARY_PATH if the problem

persist

how can I fix it?

              and that procedure replace my actual wxpython 2.8

installation, I dont want it, I need both versions
installed. Thanks!

          I don't fully understand what you mean, but you should

remove failed builds from /usr/local/lib/python2.7/ to
avoid problems with previous packages.

          wxPython 2.8 and 3.0 could coexist, maybe 3.0.0 and

3.0.1 too

and just to be clear I want in the same Ubuntu 14.04 machine wxpython 2.8 (from ubuntu repos) and 3.0 installed at the same time, because I need both version for work in differents projects, thanks!

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 29/08/14 a las #4, Mariano Reingart escribió:

On Fri, Aug 29, 2014 at 11:05 PM, Mario Lacunza <mlacunza@gmail.com > <mailto:mlacunza@gmail.com>> wrote:

    Mariano,

    I use the latest wxwidgets packages I already installed (3.0.1)
    and all was fine but at the end show this error:

    Writing
    /usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2/wxPython-3.0.0.0.egg-info
    warning: wx_install: path file
    '/usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2.pth' not created

Did you run it with sudo?
Anyway, it is not an error, just a warning, maybe wx-3.0-gtk2.pth was already there

    mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$
    <mailto:mario@mario-VirtualBox:%7E/Descargas/wxPython-src-3.0.0.0/wxPython$>
    python
    Python 2.7.6 (default, Mar 22 2014, 22:59:38)
    [GCC 4.8.2] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import wx

    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "wx/__init__.py", line 45, in <module>
        from wx._core import *
      File "wx/_core.py", line 4, in <module>
        import _core_
    ImportError: No module named _core_
    >>>

Python is not finding the shared library, run:

sudo ldconfig

CheckInstall - wxPyWiki

Note that you're sit in a directory where wx package is build, so it will try to use that before the system-wide depending on your PYTHONPATH and LD_LIBRARY_PATH.
Try changing to other directory, or doing:

ldconfig ~/Descargas/wxPython-src-3.0.0.0/wxPython/wx

You may need to review LD_LIBRARY_PATH if the problem persist

    how can I fix it?

    and that procedure replace my actual wxpython 2.8 installation, I
    dont want it, I need both versions installed. Thanks!

I don't fully understand what you mean, but you should remove failed builds from /usr/local/lib/python2.7/ to avoid problems with previous packages.

wxPython 2.8 and 3.0 could coexist, maybe 3.0.0 and 3.0.1 too

Best regards

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com

--
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 <mailto:wxpython-users+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

Hello Mariano,

I just follow your link and install, no errors showed after compiling but I cant import wx any ideas?

Here the last messages in console:

Escribiendo el paquete de respaldoOK
OK

Borrando el directorio temporal...OK

···

**********************************************************************

  Done. The new package has been installed and saved to

  /home/mario/Descargas/wxPython-src-3.0.0.0/wxPython/wxpython_3.0.0-1_i386.deb

  You can remove it from your system anytime using:

       dpkg -r wxpython

**********************************************************************

mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:38)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "wx/__init__.py", line 45, in <module>
     from wx._core import *
   File "wx/_core.py", line 4, in <module>
     import _core_
ImportError: No module named _core_
>>>
[3]+ Detenido python
mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$ sudo ldconfig
[sudo] password for mario:
mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:38)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "wx/__init__.py", line 45, in <module>
     from wx._core import *
   File "wx/_core.py", line 4, in <module>
     import _core_
ImportError: No module named _core_
>>>

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 29/08/14 a las #4, Mariano Reingart escribió:

Mario:

You could use the libwxgtk3.0-dev official ubuntu 14.04 package (that matches the version of wxPython you're trying to build)

Just do:

sudo apt-get libwxgtk3.0-dev
cd wxPython-src-3.0.0.0/wxPython
sudo python setup.py install

That worked for me IIRC, let me know if it works for you too, I'ld like to update the checkinstall wiki page:

CheckInstall - wxPyWiki

Best regards,

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com

On Fri, Aug 29, 2014 at 9:41 PM, Mario Lacunza <mlacunza@gmail.com > <mailto:mlacunza@gmail.com>> wrote:

    Hello Nathan,

    thanks for your answer!

    Im using the libraries from Ubuntu 14.04 distribution, I can
    install the latest wxWidgets version I can found (3.0.1 made on
    June 17 2014) from repos following this:

    sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc

    sudo apt-add-repository 'deb
    Index of /wx3.0.1/ubuntu trusty universe'

    sudo apt-get update

    sudo apt-get install libwxbase3.0-0-unofficial libwxbase3.0-dev
    libwxgtk3.0-0-unofficial libwxgtk3.0-dev wx3.0-headers wx-common

    But I get again the same error, maybe I missing something? some
    param can I pass to the compiling instruction? thanks in advance!

    Saludos / Best regards

    Mario Lacunza
    Email::mlacunza@gmail.com <mailto: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 <mailto:mlacunzav@hotmail.com>

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

    On Friday, August 29, 2014 3:27:05 PM UTC-7, Nathan McCorkle wrote:

        Google seems to have a few references to this error, and one
        person said the fix was to use the latest wxWidgets 3.0.0
        git/svn branch. That was on April 21 2014... are you using a
        release dated after then?

    This looks like it may be the fix:
    wxTrac has been migrated to GitHub Issues - wxWidgets
    -- 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
    <mailto:wxpython-users+unsubscribe@googlegroups.com>.
    For more options, visit https://groups.google.com/d/optout.

    -- 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
    <mailto:wxpython-users+unsubscribe@googlegroups.com>.
    For more options, visit https://groups.google.com/d/optout.

--
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 <mailto:wxpython-users+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

Did you update the shared library

sudo ldconfig

Also, try to move outside the build directory (~/Descargas/wxPython-src-3.0.0.0/wxPython)

See previous emails for a more complete explanation.

Best regards

···

Mariano Reingart
http://www.sistemasagiles.com.ar

http://reingart.blogspot.com

On Wed, Sep 3, 2014 at 1:54 AM, Mario Lacunza mlacunza@gmail.com wrote:

Hello Mariano,

  I just follow your link and install, no errors showed after

compiling but I cant import wx any ideas?

  Here the last messages in console:







  Escribiendo el paquete de respaldoOK

  OK



  Borrando el directorio temporal...OK

   Done. The new package has been installed and saved to

/home/mario/Descargas/wxPython-src-3.0.0.0/wxPython/wxpython_3.0.0-1_i386.deb

   You can remove it from your system anytime using:



        dpkg -r wxpython

  mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$
  python

  Python 2.7.6 (default, Mar 22 2014, 22:59:38)

  [GCC 4.8.2] on linux2

  Type "help", "copyright", "credits" or "license" for more

information.

  >>> import wx

Traceback (most recent call last):

File “”, line 1, in

    File "wx/__init__.py", line 45, in <module>

      from wx._core import *

    File "wx/_core.py", line 4, in <module>

      import _core_

  ImportError: No module named _core_

  >>>

[3]+ Detenido python

  mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$
  sudo ldconfig

  [sudo] password for mario:

mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$
python

  Python 2.7.6 (default, Mar 22 2014, 22:59:38)

  [GCC 4.8.2] on linux2

  Type "help", "copyright", "credits" or "license" for more

information.

  >>> import wx

Traceback (most recent call last):

File “”, line 1, in

    File "wx/__init__.py", line 45, in <module>

      from wx._core import *

    File "wx/_core.py", line 4, in <module>

      import _core_

  ImportError: No module named _core_

  >>>

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

El 29/08/14 a las #4, Mariano Reingart escribió:

Mario:

      You could use the libwxgtk3.0-dev official ubuntu 14.04

package (that matches the version of wxPython you’re trying to
build)

Just do:

sudo apt-get libwxgtk3.0-dev

cd wxPython-src-3.0.0.0/wxPython

        sudo

python setup.py install

      That worked for me IIRC, let me know if it works for you

too, I’ld like to update the checkinstall wiki page:

http://wiki.wxpython.org/CheckInstall

Best regards,

  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](https://groups.google.com/d/optout).

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.

Mariano Reingart

        [http://www.sistemasagiles.com.ar](http://www.sistemasagiles.com.ar)

        [http://reingart.blogspot.com](http://reingart.blogspot.com)

        On Fri, Aug 29, 2014 at 9:41 PM,

Mario Lacunza mlacunza@gmail.com
wrote:

Hello Nathan,

              thanks for your answer!



              Im using the libraries from Ubuntu 14.04 distribution,

I can install the latest wxWidgets version I can found
(3.0.1 made on June 17 2014) from repos following
this:

              sudo apt-key adv --fetch-keys [http://repos.codelite.org/CodeLite.asc](http://repos.codelite.org/CodeLite.asc)



              sudo apt-add-repository 'deb [http://repos.codelite.org/wx3.0.1/ubuntu/](http://repos.codelite.org/wx3.0.1/ubuntu/)
              trusty universe'



              sudo apt-get update



              sudo apt-get install libwxbase3.0-0-unofficial

libwxbase3.0-dev libwxgtk3.0-0-unofficial
libwxgtk3.0-dev wx3.0-headers wx-common

              But I get again the same error, maybe I missing

something? some param can I pass to the compiling
instruction? thanks in advance!


Saludos / Best regards
Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: [http://www.lacunza.biz/](http://www.lacunza.biz/)
Hosting:: [http://mlv-host.com/](http://mlv-host.com/)
Mascotas Perdidas:: [http://mascotas-perdidas.com/](http://mascotas-perdidas.com/)

Google Talk / Y! messenger / Skype: mlacunzav
MSN: mlacunzav@hotmail.com
El 29/08/14 a las #4, Nathan McCorkle escribió:

                    On Friday, August 29, 2014 3:27:05 PM UTC-7,

Nathan McCorkle wrote:

                        Google seems to have a few

references to this error, and one person
said the fix was to use the latest wxWidgets
3.0.0 git/svn branch. That was on April 21
2014… are you using a release dated after
then?

This looks like it may be the fix:

http://trac.wxwidgets.org/changeset/75182

                  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](https://groups.google.com/d/optout).

              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](https://groups.google.com/d/optout).

Hello Mariano,

Yes! that fix all, now I have both versions of wxPython running!! and I can use wxversion for select wich version I want use to work.

Now: when a new 3.0.x version arrives, how can update my actual installation?

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 03/09/14 a las #4, Mariano Reingart escribió:

Did you update the shared library

sudo ldconfig

Also, try to move outside the build directory (~/Descargas/wxPython-src-3.0.0.0/wxPython)

See previous emails for a more complete explanation.

Best regards

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com

On Wed, Sep 3, 2014 at 1:54 AM, Mario Lacunza <mlacunza@gmail.com > <mailto:mlacunza@gmail.com>> wrote:

    Hello Mariano,

    I just follow your link and install, no errors showed after
    compiling but I cant import wx any ideas?

    Here the last messages in console:

    Escribiendo el paquete de respaldoOK
    OK

    Borrando el directorio temporal...OK

    **********************************************************************

     Done. The new package has been installed and saved to

     /home/mario/Descargas/wxPython-src-3.0.0.0/wxPython/wxpython_3.0.0-1_i386.deb

     You can remove it from your system anytime using:

          dpkg -r wxpython

    **********************************************************************

    mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$
    <mailto:mario@mario-VirtualBox:%7E/Descargas/wxPython-src-3.0.0.0/wxPython$>
    python
    Python 2.7.6 (default, Mar 22 2014, 22:59:38)
    [GCC 4.8.2] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import wx
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "wx/__init__.py", line 45, in <module>
        from wx._core import *
      File "wx/_core.py", line 4, in <module>
        import _core_
    ImportError: No module named _core_
    >>>
    [3]+ Detenido python
    mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$
    <mailto:mario@mario-VirtualBox:%7E/Descargas/wxPython-src-3.0.0.0/wxPython$>
    sudo ldconfig
    [sudo] password for mario:
    mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$
    <mailto:mario@mario-VirtualBox:%7E/Descargas/wxPython-src-3.0.0.0/wxPython$>
    python
    Python 2.7.6 (default, Mar 22 2014, 22:59:38)
    [GCC 4.8.2] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import wx
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "wx/__init__.py", line 45, in <module>
        from wx._core import *
      File "wx/_core.py", line 4, in <module>
        import _core_
    ImportError: No module named _core_
    >>>

    Saludos / Best regards

    Mario Lacunza
    Email::mlacunza@gmail.com <mailto: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 <mailto:mlacunzav@hotmail.com>

    El 29/08/14 a las #4, Mariano Reingart escribió:

    Mario:

    You could use the libwxgtk3.0-dev official ubuntu 14.04 package
    (that matches the version of wxPython you're trying to build)

    Just do:

    sudo apt-get libwxgtk3.0-dev
    cd wxPython-src-3.0.0.0/wxPython
    sudo python setup.py install

    That worked for me IIRC, let me know if it works for you too,
    I'ld like to update the checkinstall wiki page:

    CheckInstall - wxPyWiki

    Best regards,

    Mariano Reingart
    http://www.sistemasagiles.com.ar
    http://reingart.blogspot.com

    On Fri, Aug 29, 2014 at 9:41 PM, Mario Lacunza >> <mlacunza@gmail.com <mailto:mlacunza@gmail.com>> wrote:

        Hello Nathan,

        thanks for your answer!

        Im using the libraries from Ubuntu 14.04 distribution, I can
        install the latest wxWidgets version I can found (3.0.1 made
        on June 17 2014) from repos following this:

        sudo apt-key adv --fetch-keys
        http://repos.codelite.org/CodeLite.asc

        sudo apt-add-repository 'deb
        Index of /wx3.0.1/ubuntu trusty universe'

        sudo apt-get update

        sudo apt-get install libwxbase3.0-0-unofficial
        libwxbase3.0-dev libwxgtk3.0-0-unofficial libwxgtk3.0-dev
        wx3.0-headers wx-common

        But I get again the same error, maybe I missing something?
        some param can I pass to the compiling instruction? thanks
        in advance!

        Saludos / Best regards

        Mario Lacunza
        Email::mlacunza@gmail.com <mailto: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 <mailto:mlacunzav@hotmail.com>

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

        On Friday, August 29, 2014 3:27:05 PM UTC-7, Nathan McCorkle >>> wrote:

            Google seems to have a few references to this error, and
            one person said the fix was to use the latest wxWidgets
            3.0.0 git/svn branch. That was on April 21 2014... are
            you using a release dated after then?

        This looks like it may be the fix:
        wxTrac has been migrated to GitHub Issues - wxWidgets
        -- 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
        <mailto:wxpython-users+unsubscribe@googlegroups.com>.
        For more options, visit https://groups.google.com/d/optout.

        -- 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
        <mailto:wxpython-users+unsubscribe@googlegroups.com>.
        For more options, visit https://groups.google.com/d/optout.

    -- 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
    <mailto:wxpython-users+unsubscribe@googlegroups.com>.
    For more options, visit https://groups.google.com/d/optout.

    -- 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
    <mailto:wxpython-users+unsubscribe@googlegroups.com>.
    For more options, visit https://groups.google.com/d/optout.

--
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 <mailto:wxpython-users+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

You can just remove the package with

dpkg -r wxpython

And do the process again (downloading the new version), although you will need to update libwxgtk3.0-dev (ubuntu package) as well

Best regards,

···

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com

On Wed, Sep 3, 2014 at 9:45 AM, Mario Lacunza mlacunza@gmail.com wrote:

Hello Mariano,

  Yes! that fix all, now I have both versions of wxPython running!!

and I can use wxversion for select wich version I want use to
work.

  Now: when a new 3.0.x version arrives, how can update my actual

installation?


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

El 03/09/14 a las #4, Mariano Reingart escribió:

Did you update the shared library

sudo ldconfig

      Also, try to move outside the build directory

(~/Descargas/wxPython-src-3.0.0.0/wxPython)

See previous emails for a more complete explanation.

Best regards

  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](https://groups.google.com/d/optout).

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.

Mariano Reingart

      [http://www.sistemasagiles.com.ar](http://www.sistemasagiles.com.ar)

      [http://reingart.blogspot.com](http://reingart.blogspot.com)

      On Wed, Sep 3, 2014 at 1:54 AM, Mario

Lacunza mlacunza@gmail.com
wrote:

Hello Mariano,

            I just follow your link and install, no errors showed

after compiling but I cant import wx any ideas?

            Here the last messages in console:







            Escribiendo el paquete de respaldoOK

            OK



            Borrando el directorio temporal...OK

             Done. The new package has been installed and saved to

/home/mario/Descargas/wxPython-src-3.0.0.0/wxPython/wxpython_3.0.0-1_i386.deb

             You can remove it from your system anytime using:



                  dpkg -r wxpython

              mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$
              python

              Python 2.7.6 (default, Mar 22 2014, 22:59:38)

              [GCC 4.8.2] on linux2

              Type "help", "copyright", "credits" or "license" for

more information.

              >>> import wx

Traceback (most recent call last):

              File "<stdin>", line 1, in
                File "wx/__init__.py", line 45, in <module>

                  from wx._core import *

                File "wx/_core.py", line 4, in <module>

                  import _core_

              ImportError: No module named _core_

              >>>

[3]+ Detenido python

            mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$
            sudo ldconfig

            [sudo] password for mario:

mario@mario-VirtualBox:~/Descargas/wxPython-src-3.0.0.0/wxPython$
python

              Python 2.7.6 (default, Mar 22 2014, 22:59:38)

              [GCC 4.8.2] on linux2

              Type "help", "copyright", "credits" or "license" for

more information.

              >>> import wx

Traceback (most recent call last):

              File "<stdin>", line 1, in
                File "wx/__init__.py", line 45, in <module>

                  from wx._core import *

                File "wx/_core.py", line 4, in <module>

                  import _core_

              ImportError: No module named _core_

              >>>

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

El 29/08/14 a las #4, Mariano Reingart escribió:

Mario:

                    You could use the libwxgtk3.0-dev official

ubuntu 14.04 package (that matches the version
of wxPython you’re trying to build)

Just do:

sudo apt-get libwxgtk3.0-dev

cd wxPython-src-3.0.0.0/wxPython

                      sudo

python setup.py install

                    That worked for me IIRC, let me know if it

works for you too, I’ld like to update the
checkinstall wiki page:

http://wiki.wxpython.org/CheckInstall

Best regards,

                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](https://groups.google.com/d/optout).

            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](https://groups.google.com/d/optout).

Mariano Reingart

                      [http://www.sistemasagiles.com.ar](http://www.sistemasagiles.com.ar)

                      [http://reingart.blogspot.com](http://reingart.blogspot.com)

                      On Fri, Aug 29, 2014 at

9:41 PM, Mario Lacunza mlacunza@gmail.com
wrote:

Hello Nathan,

                            thanks for your answer!



                            Im using the libraries from Ubuntu 14.04

distribution, I can install the latest
wxWidgets version I can found (3.0.1
made on June 17 2014) from repos
following this:

                            sudo apt-key adv --fetch-keys [http://repos.codelite.org/CodeLite.asc](http://repos.codelite.org/CodeLite.asc)



                            sudo apt-add-repository 'deb [http://repos.codelite.org/wx3.0.1/ubuntu/](http://repos.codelite.org/wx3.0.1/ubuntu/)
                            trusty universe'



                            sudo apt-get update



                            sudo apt-get install

libwxbase3.0-0-unofficial
libwxbase3.0-dev
libwxgtk3.0-0-unofficial libwxgtk3.0-dev
wx3.0-headers wx-common

                            But I get again the same error, maybe I

missing something? some param can I pass
to the compiling instruction? thanks in
advance!


Saludos / Best regards
Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: [http://www.lacunza.biz/](http://www.lacunza.biz/)
Hosting:: [http://mlv-host.com/](http://mlv-host.com/)
Mascotas Perdidas:: [http://mascotas-perdidas.com/](http://mascotas-perdidas.com/)

Google Talk / Y! messenger / Skype: mlacunzav
MSN: mlacunzav@hotmail.com
El 29/08/14 a las #4, Nathan McCorkle
escribió:

                                  On Friday, August 29, 2014 3:27:05

PM UTC-7, Nathan McCorkle wrote:

                                      Google seems to

have a few references to this
error, and one person said the
fix was to use the latest
wxWidgets 3.0.0 git/svn
branch. That was on April 21
2014… are you using a
release dated after then?

                                    This looks like it may be the

fix:

http://trac.wxwidgets.org/changeset/75182

                                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](https://groups.google.com/d/optout).

                            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](https://groups.google.com/d/optout).