[pycrypto] python 3, crypto installation issue?

mark grandi markgrandi at gmail.com
Fri May 8 10:40:06 PDT 2015


The pyyaml package tries to see if yaml.h is installed for optional speedups, but i know the pyyaml package can work without the c extensions, maybe the pycrypto installer doesn't handle that case?

~mark

-----Original Message-----
From: "Dave Pawson" <dave.pawson at gmail.com>
Sent: ‎5/‎8/‎2015 4:23 AM
To: "Pycrypto List" <pycrypto at lists.dlitz.net>
Subject: [pycrypto] python 3, crypto installation issue?

Linux, as root.
$ pip3 install Crypto
...

Installing collected packages: Crypto, Naked, pyyaml
  Running setup.py install for pyyaml
    checking if libyaml is compilable
    gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1
-DNDEBUG -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.4m -c
build/temp.linux-x86_64-3.4/check_libyaml.c -o
build/temp.linux-x86_64-3.4/check_libyaml.o
    build/temp.linux-x86_64-3.4/check_libyaml.c:2:18: fatal error:
yaml.h: No such file or directory
     #include <yaml.h>
                      ^
    compilation terminated.

    libyaml is not found or a compiler error: forcing --without-libyaml
    (if libyaml is installed correctly, you may need to
     specify the option --include-dirs or uncomment and
     modify the parameter include_dirs in setup.cfg)

Suggestions please?

$pip3 search pyyaml
pyaml                     - PyYAML-based module to produce
                            pretty and readable YAML-
                            serialized data
PyYAML                    - YAML parser and emitter for
                            Python
  INSTALLED: 3.11 (latest)

So it seems I have pyyaml installed?

TiA

-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
_______________________________________________
pycrypto mailing list
pycrypto at lists.dlitz.net
http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dlitz.net/pipermail/pycrypto/attachments/20150508/688aa5f9/attachment.html>


More information about the pycrypto mailing list