Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin 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> References: 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 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.