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


Groups > comp.lang.python > #97913

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

Date 2015-10-22 22:07 +0200
Subject warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
From caspar@walboomers.nl
Newsgroups comp.lang.python
Message-ID <mailman.109.1445576908.878.python-list@python.org> (permalink)

Show all headers | View raw


Hello,

I'm trying to install the yowsup2-2.4.2.tar from pypi, but my system gives
warnings and errors:

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

more in detail:

    running build_ext
    building 'Crypto.Random.OSRNG.winrandom' extension
    warning: GMP or MPIR library not found; Not building
Crypto.PublicKey._fastmath.
    error: [WinError 2] Het systeem kan het opgegeven bestand niet vinden
(dutch for: system can't find a named file)

    ----------------------------------------
Command "c:\users\ptn\appdata\local\programs\python\python35-32\python.exe
-c "import setuptools,
tokenize;__file__='C:\\Users\\ptn\\AppData\\Local\\Temp\\pip-build-hwbc57ud\\pycrypto\\setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record
C:\Users\ptn\AppData\Local\Temp\pip-_383sc3p-record\install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in
C:\Users\ptn\AppData\Local\Temp\pip-build-hwbc57ud\pycrypto

I'm using windows-10-X64 and the latest version: python-3.5.0.

How to fix this problem? Or should I run another (lower) version of python?

Please help.

Kind regards,
Caspar

Back to comp.lang.python | Previous | NextNext 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