Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-20 Thread Bruno Chareyre
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Bruno Chareyre posted a new comment: Hi Son, As advised some time ago downloading the zip tarball is the last thing you want to do. I again suggest to checkout using git. Also yadedaily should have the

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Son Pham Thai
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Son Pham Thai posted a new comment: Hi, Sorry for the late reply, I just had a meeting. I have also tried installing Yade in another PC (with Ubuntu 14.04) and I got the same error. I just want to know what

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Jan Stránský
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Status: Open => Answered Jan Stránský proposed the following answer: > My initial desire is how to fix the error of this "plot" function. you need to define plot.plots before: from yade import plot

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Son Pham Thai
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Status: Answered => Open Son Pham Thai is still having a problem: Hi Jérôme, Thank you for the YADE installation clarification and I am sorry for my wrong description regarding "yade-daily package".

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Jan Stránský
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Jan Stránský posted a new comment: Concerning your errors, I don't know how to fix them, please open a new question with the problem compiling with -DUSE_QT5=ON. Jan -- You received this question notification

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Jérôme Duriez
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Jérôme Duriez proposed the following answer: For further clarification Son, what we refer to with "yade-daily package" is a Yade version that Linux users can install without compiling anything, using classical

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Son Pham Thai
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Son Pham Thai posted a new comment: Hi Jan, When I recompiled with -DUSE_QT5=ON, I got cmake error: CMake Error at CMakeLists.txt:246 (FIND_PACKAGE): Could not find a package configuration file provided by

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Jan Stránský
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Jan Stránský requested more information: Thanks for clarification, now it is clear that what you use is not "Yade-daily package" :-) Is it possible for you to try to recompile with -DUSE_QT5=ON ? cheers Jan --

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Son Pham Thai
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Son Pham Thai posted a new comment: Hi Jan, 1. What I have done: sudo add-apt-repository ppa:yade-users/external sudo apt-get update sudo apt-get install cmake git freeglut3-dev libloki-dev \ libboost-all-dev

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Jan Stránský
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Jan Stránský requested more information: Ok, now I am a bit confused: > I am using Ubuntu 16.04 and Yade-daily package. > I followed this instruction: > https://yade-dem.org/doc/installation.html#compilation

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Son Pham Thai
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Son Pham Thai posted a new comment: Hi Jan, I followed this instruction: https://yade-dem.org/doc/installation.html#compilation I downloaded the zip file from : https://github.com/yade/trunk and then exact

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Jan Stránský
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Jan Stránský requested more information: What is the version of your yadedaily? i.e. if you start it, it writes (in my case which works) "Welcome to Yade 2018.02b-75-657a5bd~xenial" thanks Jan -- You received

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Son Pham Thai
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Son Pham Thai posted a new comment: Hi Jérôme, Using ipython, I got no error: Out[4]: [] -- You received this question notification because your team yade-users is an answer contact for Yade.

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Jérôme Duriez
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Status: Open => Answered Jérôme Duriez proposed the following answer: Hi, What happens if you launch these commands directly in Python ? (Eg ask for "ipython" instead of "yadedaily" in your terminal, then

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Son Pham Thai
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Status: Solved => Open Son Pham Thai is still having a problem: Hi, What a shame on me, I just realized that I was in my Ubuntu 14 OS (not Ubuntu 16), that's why I did not have the mentioned problem. The

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Son Pham Thai
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Status: Needs information => Solved Son Pham Thai confirmed that the question is solved: Hi Jan, I used Ubuntu 14.04 and there was no problem. When I install Ubuntu 16 and install Yade, I got this problem.

Re: [Yade-users] [Question #668081]: Problem with matplotlib.pyplot

2018-04-19 Thread Jan Stránský
Question #668081 on Yade changed: https://answers.launchpad.net/yade/+question/668081 Status: Open => Needs information Jan Stránský requested more information: Hello, on Ubuntu 16.04 I just installed yadedaily, tried your code, but got no error.. Do you run any code before these