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.

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
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 Thu, 22 Oct 2015 23:12:30 -0700
Organization A noiseless patient Spider
Lines 10
Message-ID <87h9lixgdt.fsf@jester.gateway.sonic.net> (permalink)
References <mailman.109.1445576908.878.python-list@python.org>
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx02.eternal-september.org; posting-host="1a9f5856d25720e42c135b990c70bebb"; logging-data="3388"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19TdFk+mR1X+MU7OFf/6woH"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Cancel-Lock sha1:wUk4ouvNYFwzThOAmhyl34egQA8= sha1:QXAcUhDP7kvTiPbZGlK1nH3FgiE=
Xref csiph.com comp.lang.python:97914

Show key headers only | 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