[pycrypto] python 3, crypto installation issue?
Dave Pawson
dave.pawson at gmail.com
Fri May 8 11:09:09 PDT 2015
Thanks, but I worked round it.
I installed via the download / setup.py method, worked fine.
Tried to install on Windows 7, 64 bit.
1. When I select 'all users' for Python 3.4, then pycrypto fails to
find Python and exits.
2. When I select 'just current user', then pycrypto installs fine.
crypto seems to look in the 'wrong' place (windows view)
regards
On 8 May 2015 at 18:40, mark grandi <markgrandi at gmail.com> wrote:
> 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
> ________________________________
> From: Dave Pawson
> Sent: 5/8/2015 4:23 AM
> To: Pycrypto List
> 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
>
> _______________________________________________
> pycrypto mailing list
> pycrypto at lists.dlitz.net
> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
>
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
More information about the pycrypto
mailing list