yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #17146
Re: [Question #668081]: Problem with matplotlib.pyplot
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 fakeroot dpkg-dev build-essential g++ \
python-dev ipython python-matplotlib libsqlite3-dev python-numpy python-tk gnuplot \
libgts-dev python-pygraphviz libvtk6-dev python-numpy libeigen3-dev \
python-xlib python-pyqt5 pyqt5-dev-tools python-pyqt5.qtwebkit gtk2-engines-pixbuf python-argparse \
libqglviewer-dev python-imaging libjs-jquery python-sphinx python-git python-bibtex \
libxmu-dev libxi-dev libcgal-dev help2man libbz2-dev zlib1g-dev python-minieigen
(after this command, i got:
Note, selecting 'libpython2.7-stdlib' instead of 'python-argparse'
E: Unable to locate package python-pyqt5
E: Unable to locate package python-pyqt5.qtwebkit
E: Couldn't find any package by regex 'python-pyqt5.qtwebkit'
sudo apt-get install python-gts
sudo apt-get install libopenblas-dev libsuitesparse-metis-dev
sudo add-apt-repository ppa:yade-users/external
sudo apt-get update
My folder structure:
myYade/
trunk/ ## downloaded from https://github.com/yade/trunk
build/ ##
install/ ## initially is a blank folder
cd Desktop/myYade/build
cmake -DCMAKE_INSTALL_PREFIX=/home/son/Desktop/myYade/install
/home/son/Desktop/myYade/trunk -DUSE_QT5=OFF -DTWOPHASEFLOW=ON
-DDEBUG=ON
make -j4
make install
cd
cd Desktop/myYade/install/bin
./yade-Unknown
2. When I installed default Ubuntu yade by:
sudo apt-get install yade
Then I got no error with those plot commands:
-> [4]: [<matplotlib.lines.Line2D at 0x7fbbc40673d0>]
--
You received this question notification because your team yade-users is
an answer contact for Yade.