You are not logged in.

#1 2012-05-10 08:54:45

Picoli
Member
Registered: 2010-06-29
Posts: 17

Google App Engine Launcher: wxPython is not available

Hi

I'm trying to launch the "google-appengine-wx-launcher-svn" application but I have encountered a problem. First of all, GAE needs python2.5 to work, so I installed python25. To start the application I need to enter now

 python2.5 /opt/google-appengine-wx-launcher-svn/GoogleAppEngineLauncher.py 

which is inconvenient. But there's a simple fix to that I think, right?

The more important thing is that i have installed wxpython but GAE says during startup:

wxPython is not available

and terminates. How can I tell python2.5 that/where wxpython is installed?

I already tried to add

 sys.path.append("/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/py/") 

to GoogleAppEngineLauncher.py but python is still complaining.

Best,
Picoli

Offline

#2 2012-05-10 08:58:22

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: Google App Engine Launcher: wxPython is not available

I'm no expert but I believe you need to install wxPython for Python 2.5 not try to use the Python 2.7 version.  Each version of Python needs to be independent.  You cannot use the libraries installed in one version in another version.  So, you need to install wxPython for Python 2.5.  Into wherever you installed Python 2.5.

Offline

#3 2012-05-10 10:28:09

Picoli
Member
Registered: 2010-06-29
Posts: 17

Re: Google App Engine Launcher: wxPython is not available

headkase wrote:

I'm no expert but I believe you need to install wxPython for Python 2.5 not try to use the Python 2.7 version.  Each version of Python needs to be independent.  You cannot use the libraries installed in one version in another version.  So, you need to install wxPython for Python 2.5.  Into wherever you installed Python 2.5.

Thanks for your answer. I tried that, but i seems to be cumbersome.

 python2.5 setup.py build 

and errors appear like

 src/helpers.cpp:1982:52: error: cannot convert ‘int*’ to ‘Py_ssize_t* {aka long int*}’ for argument ‘3’ to ‘int PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)’ 

google says

http://forums.fedoraforum.org/archive/i … 74836.html

but before I do that, is there no other way to get it to work?

Last edited by Picoli (2012-05-10 10:31:21)

Offline

Board footer

Powered by FluxBB