I want to use the jacobDN function in sympy, so I download it and python setup.py install
it, successfully.
When I want to use it as in the documentation does:
>>> from sympy.mpmath import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named mpmath
>>>
Import everything from sympy is successful:
>>> from sympy import *
>>>
Then I installed mpmath individually, then I can use the ellipfun from mpmath. However an annoying mpf
is shown:
>>> from mpmath import *
>>> ellipfun('dn',0.5,0.5)
mpf('0.94297242577738571')
>>>
Question is how to use ellipfun under sympy.mpmath? How to check my install flaws?
The solution to the above is the best! If can't, how can I use ellipfun in mpmath just as using the normal functions?
evidence of the successful installation of sympy
-> ~$ pip show sympy
---
Name: sympy
Version: 0.7.7.dev
Location: /usr/local/lib/python2.7/dist-packages/sympy-0.7.7.dev-py2.7.egg
Requires: mpmath
-> ~$ pip install --upgrade sympy
Requirement already up-to-date: sympy in /usr/local/lib/python2.7/dist-packages/sympy-0.7.7.dev-py2.7.egg
Requirement already up-to-date: mpmath>=0.19 in /usr/local/lib/python2.7/dist-packages/mpmath-0.19-py2.7.egg (from sympy)
Cleaning up...