Hi Martin,
Since you are getting to the 'yes? ' prompt, it appears the main pyferret module itself is not the source of the problem. Since it appears it is when you try to open a displayed window, it probably is the pipedviewer python code (which is part of PyFerret) causing the error.
In this release, all the python code was updated to work under either Python2.x or Python3.x, and use PyQt5, if available, otherwise PyQt4. So one thing to see is if PyQt5 happens to be installed in your python2.7, something like: