Question #175073 on Yade changed: https://answers.launchpad.net/yade/+question/175073
Jack Wang gave more information on the question: Thanks for jduriez's advice and Christian's patience. I modify my scons-profile.. file on my yade/ folder and specify as a feature qt4. Just add the line:features='qt4' Then I run the examples. kinn@kinn-desktop:~/YADE/bin$ yade-0.60.3 mill.py yade-0.60.3:找不到命令(command not found) kinn@kinn-desktop:~/YADE/bin$ python yade-0.60.3 mill.py Welcome to Yade 0.60.3 TCP python prompt on localhost:9000, auth cookie `caskue' XMLRPC info provider on http://localhost:21000 Running script mill.py 646 WARN yade.SpherePack /home/kinn/yade-0.60.3/pkg/dem/SpherePack.cpp:156 makeCloud: Exceeded 1000 tries to insert non-overlapping sphere to packing. Only 367 spheres was added, although you requested 707 668 WARN yade.SpherePack /home/kinn/yade-0.60.3/pkg/dem/SpherePack.cpp:156 makeCloud: Exceeded 1000 tries to insert non-overlapping sphere to packing. Only 327 spheres was added, although you requested 707 Numer of grains 694 [[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]] Yade [1]: Then it works.But when I run the example of funnel.py,there are other problems. kinn@kinn-desktop:~/YADE/bin$ python yade-0.60.3 funnel.py Welcome to Yade 0.60.3 TCP python prompt on localhost:9000, auth cookie `ekdssc' XMLRPC info provider on http://localhost:21000 Running script funnel.py Traceback (most recent call last): File "yade-0.60.3", line 152, in runScript execfile(script,globals()) File "funnel.py", line 29, in <module> VTKRecorder(iterPeriod=100,recorders=['spheres','facets','colors'],fileName='/tmp/p1-') NameError: name 'VTKRecorder' is not defined [[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]] Yade [1]: So how to solve the problems? Thanks for your guidance.It helps me a lot. -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

