-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stimfit will not work with IPython versions 0.11 or above #23
Comments
Just updating this, as it got posted in a response to our user survey:
1a. You could embed an IPython kernel into your application, and then have a Wx window with a straightforward terminal emulator widget which runs IPython 'console'. That's a terminal mode which talks to a remote kernel, whereas our normal kernel runs in a single process. I appreciate that's a bit ugly, but it should work.
|
Option 4: Port Stimfit to Qt :-)
|
I agree that Wx doesn't seem to be going anywhere fast - although that could be a good thing for a GUI framework. But I get the impression that there's enough stuff running on it that it will be kept working for the foreseeable future. |
This link will provide us some information soon ( I hope). |
Because IPython dropped wx support on versions 0.11 and above, Stimfit will not build with IPython's backed. Check with your IPython version with ipython --version
According to Fernando Perez, there are a few options:
https://github.com/ipython/ipython/blob/master/docs/examples/lib/ipkernel_wxapp.py
https://github.com/ipython/ipython/blob/master/docs/examples/lib/internal_ipkernel.py
Those two files show how you can activate an IPython kernel in your WX
application. At that point, the kernel is ready to listen to commands
from a Qt console, and you can attach one of the existing Qt consoles,
or launch one yourself (also shown there).
The downside of this is that it requires that users have Qt as well.
That may not be an issue for some projects, but a showstopper for
others.
We'd love to have a working WX client alongside the Qt one, so if
anyone with WX expertise is willing to help out, that would be great.
relying on system versions of packages, then there's always the brute
force solution of just bundling ipython 0.10.2 alongside. Not pretty,
but it gets the job done...
The text was updated successfully, but these errors were encountered: