When I used pip to install gmpy2, I always got the 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 any way to directly install gmpy2 through pip?Answer1:
I have added gmpy2 to the <a href="http://pypi.python.org/pypi" rel="nofollow">Python Package Index</a>.
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 those libraries if your operating system doesn't provide the latest versions. Please see <a href="http://code.google.com/p/gmpy/wiki/InstallingGmpy2" rel="nofollow">Installing GMPY2</a> for details.Answer2:
<a href="http://code.google.com/p/gmpy/" rel="nofollow">gmpy2</a> is now in beta. I think this is why it is not available in pypi.Answer3:
No. GMPY2 is not in the <a href="http://pypi.python.org/pypi?%3aaction=search&term=gmpy&submit=search" rel="nofollow">Python Package Index</a>, which
pip uses. Only version 1.16 is. It seems like their documentation on Google Code might be wrong.