yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #25875
Re: [Question #697791]: yade installation: AttributeError: module 'mpmath.ctx_mp_python' has no attribute 'mpf'
Question #697791 on Yade changed:
https://answers.launchpad.net/yade/+question/697791
Status: Answered => Solved
Rohit John confirmed that the question is solved:
Dear Janek Kozicki,
Thanks for your advice. The problem is solved. I did the following
- uninstalling mpmath using pip
$ pip3 uninstall mpmath.
This did not work
- Uninstalling mpmath using apt-get
$ sudo apt-get remove python3-mpmath
This uninstalled mpmath
- Reinstall mpmath using command given in [1]
$ sudo apt install cmake git freeglut3-dev libloki-dev libboost-all-dev fakeroot \
dpkg-dev build-essential g++ python3-dev python3-ipython python3-matplotlib \
libsqlite3-dev python3-numpy python3-tk gnuplot libgts-dev python3-pygraphviz \
libvtk6-dev libeigen3-dev python3-xlib python3-pyqt5 pyqt5-dev-tools python3-mpi4py \
python3-pyqt5.qtwebkit gtk2-engines-pixbuf python3-pyqt5.qtsvg libqglviewer-dev-qt5 \
python3-pil libjs-jquery python3-sphinx python3-git libxmu-dev libxi-dev libcgal-dev \
help2man libbz2-dev zlib1g-dev libopenblas-dev libsuitesparse-dev \
libmetis-dev python3-bibtexparser python3-future coinor-clp coinor-libclp-dev \
python3-mpmath libmpfr-dev libmpfrc++-dev
This installed mpmath
When I ran yade it worked.
Kind regards,
Rohit K. John
[1] https://yade-dem.org/doc/installation.html#source-code
--
You received this question notification because your team yade-users is
an answer contact for Yade.