← Back to team overview

yade-users team mailing list archive

Re: [Question #658861]: What are the package necessary for the generator (F9) and the 3D view (F11)

 

Question #658861 on Yade changed:
https://answers.launchpad.net/yade/+question/658861

Yor1 posted a new comment:
I tried "from yade import qt" and i obtain :

Yade [1]: from yade import qt
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
/usr/local/bin/yade-2015-04-08.git-f3818b4 in <module>()
----> 1 from yade import qt

/usr/local/lib/i386-linux-gnu/yade-2015-04-08.git-f3818b4/py/yade/qt/__init__.py in <module>()
      6         if 'YADE_BATCH' in os.environ:
      7                 msg += "\nDo not import qt when running in batch mode."
----> 8         raise ImportError(msg)
      9 
     10 from PyQt4.QtGui import *

ImportError: Connecting to DISPLAY at Yade startup failed, unable to
activate the qt4 interface.

I think the problem is in the qt.

Jabrane.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.