Question #243909 on Yade changed: https://answers.launchpad.net/yade/+question/243909
Klaus Thoeni proposed the following answer: Try to install yade from source as suggested by Jérôme. The latest version available on launchpad is 1.07.0 [1] or use the latest version from the git repository. I am working with the latest trunk version but you don't need it for this script. Klaus [1] https://launchpad.net/yade/trunk/yade-1.00.0/+download/yade-1.07.0.tar.gz On Tuesday 18 February 2014 09:01:59 David Zhang wrote: > Question #243909 on Yade changed: > https://answers.launchpad.net/yade/+question/243909 > > Status: Solved => Open > > David Zhang is still having a problem: > Hi Klaus, > > I installed Ubuntu 13.10 and Yade 0.97 by using sudo apt-get install > yade on my computer. Following your suggestion, I created a file > (membrane.py) by copying the script you posted. However, I got the > following error > > $ yade membrane.py > Welcome to Yade 0.97.0 > TCP python prompt on localhost:9000, auth cookie `sscayd' > XMLRPC info provider on http://localhost:21000 > Running script membrane.py > Traceback (most recent call last): > File "/usr/bin/yade", line 168, in runScript > execfile(script,globals()) > File "membrane.py", line 7, in <module> > blocMat = > O.materials.append(JCFpmMat(young=1e6,poisson=0.3,frictionAngle=radians(30) > ,density=2600)) NameError: name 'JCFpmMat' is not defined > > I suspect that I need Yadedaily to include JCFpmMat. I then try to install > Yadedaily by the following steps 1) sudo bash -c 'echo "deb > http://www.yade-dem.org/packages/ saucy/" >> /etc/apt/sources.list' 2) wget > -O - http://www.yade-dem.org/packages/yadedev_pub.gpg | sudo apt-key add - > 3) sudo apt-get install yadedaily > > It seems that 1) and 2) work well, but 3) give me an error below: > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Unable to locate package yadedaily > > Any idea about the errors? > > Cheers > David > > -- > 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 -- 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

