summaryrefslogtreecommitdiff
path: root/pipermail/pycrypto/2011q4/000468.html
blob: 099e26f52bbb9dd0ba2d4efce4efd114d5299137 (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [pycrypto] Install failure
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Install%20failure&In-Reply-To=8129C8D99AA86D4A9A8BEA3E7DCC806A36B9AECC43%40exch-mail.bridge.net">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000467.html">
   <LINK REL="Next"  HREF="000471.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[pycrypto] Install failure</H1>
    <B>Mike Driscoll</B> 
    <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Install%20failure&In-Reply-To=8129C8D99AA86D4A9A8BEA3E7DCC806A36B9AECC43%40exch-mail.bridge.net"
       TITLE="[pycrypto] Install failure">mdriscoll at co.marshall.ia.us
       </A><BR>
    <I>Wed Oct 19 09:16:16 CST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="000467.html">[pycrypto] Install failure
</A></li>
        <LI>Next message: <A HREF="000471.html">[pycrypto] No SHA1?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#468">[ date ]</a>
              <a href="thread.html#468">[ thread ]</a>
              <a href="subject.html#468">[ subject ]</a>
              <a href="author.html#468">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 10/19/2011 10:13 AM, Dean Macinskas wrote:
&gt;<i>
</I>&gt;<i> *From:*<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto-bounces at lists.dlitz.net</A> 
</I>&gt;<i> [mailto:<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto-bounces at lists.dlitz.net</A>] *On Behalf Of *Andrew Cooper
</I>&gt;<i> *Sent:* Wednesday, October 19, 2011 11:05 AM
</I>&gt;<i> *To:* <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto at lists.dlitz.net</A>
</I>&gt;<i> *Subject:* Re: [pycrypto] Install failure
</I>&gt;<i>
</I>&gt;<i> On 19/10/2011 15:58, Dean Macinskas wrote:
</I>&gt;<i>
</I>&gt;<i> *From:*<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto-bounces at lists.dlitz.net</A> 
</I>&gt;<i> &lt;mailto:<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto-bounces at lists.dlitz.net</A>&gt; 
</I>&gt;<i> [mailto:<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto-bounces at lists.dlitz.net</A>] *On Behalf Of *Andrew Cooper
</I>&gt;<i> *Sent:* Wednesday, October 19, 2011 10:52 AM
</I>&gt;<i> *To:* PyCrypto discussion list
</I>&gt;<i> *Subject:* Re: [pycrypto] Install failure
</I>&gt;<i>
</I>&gt;<i> On 19/10/2011 15:46, Dean Macinskas wrote:
</I>&gt;<i>
</I>&gt;<i> Platform: W7pro, 64-bit
</I>&gt;<i>
</I>&gt;<i> I downloaded the latest version (2.3) and ran &quot;python setup.py 
</I>&gt;<i> install&quot;.  Here's what I see:
</I>&gt;<i>
</I>&gt;<i> C:\Users\dmacinskas\AppData\Local\Temp\pycrypto\pycrypto-2.3&gt;python 
</I>&gt;<i> setup.py install
</I>&gt;<i>
</I>&gt;<i> running install
</I>&gt;<i>
</I>&gt;<i> running build
</I>&gt;<i>
</I>&gt;<i> running build_py
</I>&gt;<i>
</I>&gt;<i> running build_ext
</I>&gt;<i>
</I>&gt;<i> warning: GMP library not found; Not building Crypto.PublicKey._fastmath.
</I>&gt;<i>
</I>&gt;<i> building 'Crypto.Random.OSRNG.winrandom' extension
</I>&gt;<i>
</I>&gt;<i> error: Unable to find vcvarsall.bat
</I>&gt;<i>
</I>&gt;<i> C:\Users\dmacinskas\AppData\Local\Temp\pycrypto\pycrypto-2.3&gt;
</I>&gt;<i>
</I>&gt;<i> This appears to defeat the install, because subsequently importing 
</I>&gt;<i> Crypto.Cipher produces a &quot;module not found&quot; error.
</I>&gt;<i>
</I>&gt;<i> Any advice?
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> Do you have MSCV/MSVS installed?  You need a C compiler for &quot;python 
</I>&gt;<i> setup.py install&quot; to work.
</I>&gt;<i>
</I>&gt;<i> ~Andrew
</I>&gt;<i>
</I>&gt;<i> No, but I have Python installed on another system, also without 
</I>&gt;<i> MSCV/MSVS installed, and I've imported lots of packages without 
</I>&gt;<i> error.  Is PyCrypto a special case in this regard?
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> Not overly special - it is certainly not the only python extension 
</I>&gt;<i> written mainly in C.  The majority of extensions however are just 
</I>&gt;<i> python themselves, so don't require a C compiler.
</I>&gt;<i>
</I>&gt;<i> ~Andrew
</I>&gt;<i>
</I>&gt;<i> Besides, I'd expect that the install module would have the C stuff 
</I>&gt;<i> already compiled, no?
</I>&gt;<i>
</I>&gt;<i> Perhaps I don't have the C runtime installed.  Is there a specific one 
</I>&gt;<i> required?  I'm using Python 2.7.2.
</I>&gt;<i>
</I>&gt;<i> Thanks,
</I>&gt;<i>
</I>&gt;<i> dpm
</I>&gt;<i>
</I>&gt;<i>
</I>
Personally, I just use Michael Foord's PyCrypto Windows builds: 
<A HREF="http://www.voidspace.org.uk/python/modules.shtml#pycrypto">http://www.voidspace.org.uk/python/modules.shtml#pycrypto</A>

Then I don't need a compiler.

- Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.dlitz.net/pipermail/pycrypto/attachments/20111019/3d3266f7/attachment.htm">http://lists.dlitz.net/pipermail/pycrypto/attachments/20111019/3d3266f7/attachment.htm</A> 
</PRE>




<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000467.html">[pycrypto] Install failure
</A></li>
	<LI>Next message: <A HREF="000471.html">[pycrypto] No SHA1?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#468">[ date ]</a>
              <a href="thread.html#468">[ thread ]</a>
              <a href="subject.html#468">[ subject ]</a>
              <a href="author.html#468">[ 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>