Hi guys,
I don't understand the relationship of sympy and mpmath.
As I followed the instructions of
http://docs.sympy.org/latest/install.html#mpmath
I installed mpmath and sympy as you can see in the following lines.
$ pip install sympy
Collecting sympy
Requirement already satisfied: mpmath>=0.19 in
/home/atille/.anaconda2/lib/python2.7/site-packages (from sympy)
Installing collected packages: sympy
Successfully installed sympy-1.0
my code includes the following lines
import sys
import mpmath
from sympy import *
from sympy import solve
from sympy import init_printing
but results in this error message
Traceback (most recent call last):
File "./algebraic_calculation_model_6_rescaled.py", line 4, in <module>
import sympy.mpmath
File "/usr/lib/python2.7/dist-packages/sympy/__init__.py", line 20, in
<module>
raise ImportError("SymPy now depends on mpmath as an external library. "
ImportError: SymPy now depends on mpmath as an external library. See
http://docs.sympy.org/latest/install.html#mpmath for more information.
Can you explain my mistake?
Thank you in advance.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/fcab6d00-b4da-4bc1-8093-0613f7a190cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.