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
tvtk scene windows blank/unresponsive #532
Comments
Did you set |
I set environment variables (1) With ipython
returns
So far neither (2) In a regular python console
works! (3) In a Pycharm IDE python console
Is necessary for snippet to work. |
So on IPython it appears that IPython is setting the version to 2. Can you try this:
Maybe this will set the QT API to 2 before IPython can set it to 1. Technically and according to the IPython docs here: http://ipython.readthedocs.io/en/stable/interactive/reference.html#pyqt-and-pyside this should not happen but lets see. |
Thank you @prabhuramachandran that did the trick...for now. It would be nice if the state of affair between backends, bindings, and viz modules wasn't so fluid. So I am currently trying to adopt a practice working with virtual envs for projects that I intend (or hope) to freeze in a working state. That said in my experience for any given update or install e.g., ipython or matplotlib there is no guarantee the visualization stack remains intact. Perhaps that's just my naivete, but I have to admit I do spend a great deal of time troubleshooting and fixing broken things 😞 So I am always curious to hear about how developers tend to keep their 'environment' in working order. FYI cc @kingjr @choldgraf @Eric89GXL |
@choldgraf -- LOL! @kambysese -- Well, our own code hasn't really changed much. The issue is that there is pyside, pyqt, pyqt4, pyqt5, qtdate (and whatnot), wxPython (2, 3, now 4!). I think we should just document this carefully somewhere. Do you have a suggestion? Would putting it here: http://docs.enthought.com/mayavi/mayavi/mlab.html be OK? |
@prabhuramachandran Why is this now happening on OSX? regardless of |
No idea, things haven been working well for me. What version of PyQt5? PyQt5 isn't as stable as I'd like, I've had strange problems very so often. PyQt5 (5.10.1) works for me on OSX but crashes on Windows where I've needed to downgrade to 5.9.2. |
I am using PyQt 5.9.2 |
Interesting, it used to work for me but the toolbar would float all over the place, upgrading to PyQt 5.10.1 fixed it for me. However, I would get a working visualization, it was only the toolbar that was messed up. Try updating to PyQt5.10.1. |
|
I have been using |
nvmd 5.9.2 is the highest version available on default conda channel. |
I can confirm with
It upgrades to 5.10.1 it works. |
@larsoner -- thanks! What a pain. Don't use 5.10.1 on windows especially on appveyor. |
generates blank/unresponsive figure window
My system info is:
cc @Eric89GXL
The text was updated successfully, but these errors were encountered: