summaryrefslogtreecommitdiff
path: root/pipermail/pycrypto/2015q2/000836.html
blob: e77082c92b27f21008fdd69950084f10880dfa28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [pycrypto] python 3, crypto installation issue?
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20python%203%2C%20crypto%20installation%20issue%3F&In-Reply-To=%3CCAEncD4dupamGPo36sb_V9YK6NJyd0c%3DjrVs%3D3EJtvX1mcMP4wA%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <style type="text/css">
       pre {
           white-space: pre-wrap;       /* css-2.1, curent FF, Opera, Safari */
           }
   </style>
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000835.html">
   <LINK REL="Next"  HREF="000837.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[pycrypto] python 3, crypto installation issue?</H1>
    <B>Dave Pawson</B> 
    <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20python%203%2C%20crypto%20installation%20issue%3F&In-Reply-To=%3CCAEncD4dupamGPo36sb_V9YK6NJyd0c%3DjrVs%3D3EJtvX1mcMP4wA%40mail.gmail.com%3E"
       TITLE="[pycrypto] python 3, crypto installation issue?">dave.pawson at gmail.com
       </A><BR>
    <I>Fri May  8 11:09:09 PDT 2015</I>
    <P><UL>
        <LI>Previous message: <A HREF="000835.html">[pycrypto] python 3, crypto installation issue?
</A></li>
        <LI>Next message: <A HREF="000837.html">[pycrypto] Windows64, pycrypto
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#836">[ date ]</a>
              <a href="thread.html#836">[ thread ]</a>
              <a href="subject.html#836">[ subject ]</a>
              <a href="author.html#836">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>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 &lt;<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">markgrandi at gmail.com</A>&gt; wrote:
&gt;<i> The pyyaml package tries to see if yaml.h is installed for optional
</I>&gt;<i> speedups, but i know the pyyaml package can work without the c extensions,
</I>&gt;<i> maybe the pycrypto installer doesn't handle that case?
</I>&gt;<i>
</I>&gt;<i> ~mark
</I>&gt;<i> ________________________________
</I>&gt;<i> From: Dave Pawson
</I>&gt;<i> Sent: &#8206;5/&#8206;8/&#8206;2015 4:23 AM
</I>&gt;<i> To: Pycrypto List
</I>&gt;<i> Subject: [pycrypto] python 3, crypto installation issue?
</I>&gt;<i>
</I>&gt;<i> Linux, as root.
</I>&gt;<i> $ pip3 install Crypto
</I>&gt;<i> ...
</I>&gt;<i>
</I>&gt;<i> Installing collected packages: Crypto, Naked, pyyaml
</I>&gt;<i>   Running setup.py install for pyyaml
</I>&gt;<i>     checking if libyaml is compilable
</I>&gt;<i>     gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1
</I>&gt;<i> -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security
</I>&gt;<i> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
</I>&gt;<i> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
</I>&gt;<i> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.4m -c
</I>&gt;<i> build/temp.linux-x86_64-3.4/check_libyaml.c -o
</I>&gt;<i> build/temp.linux-x86_64-3.4/check_libyaml.o
</I>&gt;<i>     build/temp.linux-x86_64-3.4/check_libyaml.c:2:18: fatal error:
</I>&gt;<i> yaml.h: No such file or directory
</I>&gt;<i>      #include &lt;yaml.h&gt;
</I>&gt;<i>                       ^
</I>&gt;<i>     compilation terminated.
</I>&gt;<i>
</I>&gt;<i>     libyaml is not found or a compiler error: forcing --without-libyaml
</I>&gt;<i>     (if libyaml is installed correctly, you may need to
</I>&gt;<i>      specify the option --include-dirs or uncomment and
</I>&gt;<i>      modify the parameter include_dirs in setup.cfg)
</I>&gt;<i>
</I>&gt;<i> Suggestions please?
</I>&gt;<i>
</I>&gt;<i> $pip3 search pyyaml
</I>&gt;<i> pyaml                     - PyYAML-based module to produce
</I>&gt;<i>                             pretty and readable YAML-
</I>&gt;<i>                             serialized data
</I>&gt;<i> PyYAML                    - YAML parser and emitter for
</I>&gt;<i>                             Python
</I>&gt;<i>   INSTALLED: 3.11 (latest)
</I>&gt;<i>
</I>&gt;<i> So it seems I have pyyaml installed?
</I>&gt;<i>
</I>&gt;<i> TiA
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> Dave Pawson
</I>&gt;<i> XSLT XSL-FO FAQ.
</I>&gt;<i> Docbook FAQ.
</I>&gt;<i> <A HREF="http://www.dpawson.co.uk">http://www.dpawson.co.uk</A>
</I>&gt;<i> _______________________________________________
</I>&gt;<i> pycrypto mailing list
</I>&gt;<i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto at lists.dlitz.net</A>
</I>&gt;<i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</A>
</I>&gt;<i>
</I>&gt;<i> _______________________________________________
</I>&gt;<i> pycrypto mailing list
</I>&gt;<i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto at lists.dlitz.net</A>
</I>&gt;<i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</A>
</I>&gt;<i>
</I>


-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
<A HREF="http://www.dpawson.co.uk">http://www.dpawson.co.uk</A>
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000835.html">[pycrypto] python 3, crypto installation issue?
</A></li>
	<LI>Next message: <A HREF="000837.html">[pycrypto] Windows64, pycrypto
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#836">[ date ]</a>
              <a href="thread.html#836">[ thread ]</a>
              <a href="subject.html#836">[ subject ]</a>
              <a href="author.html#836">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">More information about the pycrypto
mailing list</a><br>
</body></html>