Open GoogleCodeExporter opened 9 years ago
Can you check if this problem persists with gmpy2 2.0.0b4 (or the gmpy trunk)?
Original comment by fredrik....@gmail.com
on 15 Mar 2013 at 11:37
I am afraid the problem persists
Original comment by gbeli...@gmail.com
on 15 Mar 2013 at 12:12
Our administrator tried to install gmpy2 after mpmath, (on CentoOS) and mpmath
stopped working:
>>> import mpmath
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/python/2.7.1-gcc/lib/python2.7/site-packages/mpmath/__init__.py", line 5, in <module>
from .ctx_fp import FPContext
File "/usr/local/python/2.7.1-gcc/lib/python2.7/site-packages/mpmath/ctx_fp.py", line 1, in <module>
from .ctx_base import StandardBaseContext
File "/usr/local/python/2.7.1-gcc/lib/python2.7/site-packages/mpmath/ctx_base.py", line 3, in <module>
from .libmp.backend import xrange
File "/usr/local/python/2.7.1-gcc/lib/python2.7/site-packages/mpmath/libmp/__init__.py", line 1, in <module>
from .libmpf import (prec_to_dps, dps_to_prec, repr_dps,
File "/usr/local/python/2.7.1-gcc/lib/python2.7/site-packages/mpmath/libmp/libmpf.py", line 20, in <module>
from .libintmath import (giant_steps,
File "/usr/local/python/2.7.1-gcc/lib/python2.7/site-packages/mpmath/libmp/libintmath.py", line 302, in <module>
sqrtrem = gmpy.sqrtrem
AttributeError: 'module' object has no attribute 'sqrtrem'
it has gmp/5.1.0 and mpfr 3.1.1
Original comment by gbeli...@gmail.com
on 15 Mar 2013 at 2:25
Thanks. I will investigate.
Original comment by fredrik....@gmail.com
on 15 Mar 2013 at 3:23
Ah, this should already be fixed in the git repository.
Can you check if a source checkout https://github.com/fredrik-johansson/mpmath
works?
Original comment by fredrik....@gmail.com
on 15 Mar 2013 at 5:55
After I got the code from git, it seems to have fixed the problem
Thanks!
Original comment by gbeli...@gmail.com
on 16 Mar 2013 at 1:21
Original issue reported on code.google.com by
gbeli...@gmail.com
on 15 Mar 2013 at 11:06