Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97914

Re: warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.python
Subject Re: warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
Date 2015-10-22 23:12 -0700
Organization A noiseless patient Spider
Message-ID <87h9lixgdt.fsf@jester.gateway.sonic.net> (permalink)
References <mailman.109.1445576908.878.python-list@python.org>

Show all headers | View raw


caspar@walboomers.nl writes:
>     warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
> How to fix this problem? Or should I run another (lower) version of python?

See if the program works anyway without _fastmath.  It would use the
built-in Python arithmetic which is slower but usable unless you have
high performance requirements.  According to my benchmarks (a long time
ago on a 32-bit x86) GMP was about 4x faster than Python's bigints.  But
your program isn't likely to spend that much of its time doing bignum
math.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath. caspar@walboomers.nl - 2015-10-22 22:07 +0200
  Re: warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath. Paul Rubin <no.email@nospam.invalid> - 2015-10-22 23:12 -0700

csiph-web