Installing gmpy2

When I used pip to install gmpy2 I always got version 1.16 i.e. gmpy instead of gmpy2.

$ pip search gmpy
gmpy                      - GMP or MPIR interface to Python 2.4+ and 3.x
  INSTALLED: 1.16 (latest)

      

Is there a way to directly install gmpy2 via pip?

0


source to share


3 answers


I added gmpy2 to the Python Package Index .



gmpy2 requires GMP 5.0 or later, MPFR 3.1 or later, and MPC 1.0 or later. You may need to compile your own version of these libraries if your operating system does not provide the latest versions. See Installing GMPY2 for details .

+3


source


gmpy2 is now in beta. I think this is why it is not available in pypi.



+1


source


Not. GMPY2 is not in the Python Package Index that it is using pip

. Version 1.16 only. It looks like their documentation on Google Code might be wrong.

0


source







All Articles