Please look at that:
[pawel@bmbpccl1 ~]$ e2.py
Python 2.7.15 |Anaconda, Inc.| (default, Dec 14 2018, 19:04:19)
Type "copyright", "credits" or "license" for more information.
IPython 5.8.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Welcome to the interactive EMAN2 Python interface, provided by ipython
NOTE: that you should NOT be running this program if your intent is to run other
EMAN2 programs. To do that, quit e2.py and just type the name of the EMAN2 program
directly at the system command line. This interface is for people who know some
Warning: Failed to initialize Qt mode. Running in fallback mode with non-interactive graphics.
The last sentence means it knows there is no Qt and that it should work without it,
but then the printout is:
In : QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-pawel'
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
meaning it still tries to use Qt. It means that either imports are in wrong order or something is imported
later on which should not be.