Hi,
a few days ago I had a similar problem. The mail-thread was named [ferret_users] build pyferret_v710. Karl Smith helped me do sort out some misconfigured python installation. Your error message shows that your python cannot load neither PyQt5 nor PyQt4. For python 2.7 it should be PyQt4, not PyQt5! To check your python installation just issue $ python2.7 $>>> import PyQt4 This should work without an error. I am not sure about anaconda, but I think in this case it should be PyQt5! If this does not work, the ferret installation is not the error source but the python installation is the problem. The next point is that the ferret-environment includes pythen-related variables. env | grep PY gives for me PYTHONSTARTUP=/etc/pythonstart PYFER_EXTERNAL_FUNCTIONS=/sw/viz/ferret/py_ferret_v700_ub_py_27/ext_func/pylibs PYTHONPATH=/sw/viz/ferret/py_ferret_v700_ub_py_27/lib/python2.7/site-packages Finally, Karl points to a stand-alone check of the ferret graphics machine: source your ferret environment (do not forget this!) $ cd $FER_DIR/lib/python2.7/site-packages/pipedviewer/
$ python2.7 pipedviewerpq.py(This will display a little dialog box with a button. Every time you press the button it will print a drawing command to the terminal as well as issue that command to the viewer. It should display a window, draw various things to that window, save the final plot as a PDF and PNG, and exit.) The scripts around pipedviewerpq.py try to load PyQt5, if this does not exist PyQt4 and end with an error if none of them is found. Hope this helps, to proceeed. Greetings, Martin On 03/10/2017 01:06 AM, Sudheer Joseph wrote:
|