summaryrefslogtreecommitdiff
path: root/pipermail/pycrypto/2017/000908.html
blob: 81eb3ac09b11d4d5d184912d32cd07b82429322e (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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [pycrypto] Build error, 2.6.1
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20Build%20error%2C%202.6.1&In-Reply-To=%3CB709C2FF-568A-46C2-B4FB-2D85563B0673%40falatic.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=utf-8">
   <LINK REL="Previous"  HREF="000907.html">
   
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[pycrypto] Build error, 2.6.1</H1>
    <B>Martin Falatic</B> 
    <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20Build%20error%2C%202.6.1&In-Reply-To=%3CB709C2FF-568A-46C2-B4FB-2D85563B0673%40falatic.com%3E"
       TITLE="[pycrypto] Build error, 2.6.1">martin at falatic.com
       </A><BR>
    <I>Sat Sep 16 10:35:34 UTC 2017</I>
    <P><UL>
        <LI>Previous message (by thread): <A HREF="000907.html">[pycrypto] Build error, 2.6.1
</A></li>
        
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#908">[ date ]</a>
              <a href="thread.html#908">[ thread ]</a>
              <a href="subject.html#908">[ subject ]</a>
              <a href="author.html#908">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>No problem... I just started looking at this but it sounds like you already got it sorted. Sounds like either a missing dependency or install conflict was to blame there.


On September 16, 2017 12:35:26 AM PDT, Dave Pawson &lt;<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">dave.pawson at gmail.com</A>&gt; wrote:
&gt;<i>Now resolved (again?).
</I>&gt;<i>The similarity of names and what needs to be changed seems to be the
</I>&gt;<i>source of my problems?
</I>&gt;<i>
</I>&gt;<i>Sorry to waste bandwidth.
</I>&gt;<i>
</I>&gt;<i>On 15 September 2017 at 19:21, Dave Pawson &lt;<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">dave.pawson at gmail.com</A>&gt;
</I>&gt;<i>wrote:
</I>&gt;&gt;<i> New (Windows 10) machine.
</I>&gt;&gt;<i> installed python  3.6.2
</I>&gt;&gt;<i> pip install pycryptodomex
</I>&gt;&gt;<i> SelfTest ran fine.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Tried the examples at
</I>&gt;<i><A HREF="https://www.pycryptodome.org/en/latest/src/examples.html">https://www.pycryptodome.org/en/latest/src/examples.html</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> C:\Users\Dave Pawson&gt;python
</I>&gt;&gt;<i> Python 3.6.2 (v3.6.2:5fd33b5, Jul  8 2017, 04:57:36) [MSC v.1900 64
</I>&gt;&gt;<i> bit (AMD64)] on win32
</I>&gt;&gt;<i> Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more
</I>&gt;<i>information.
</I>&gt;&gt;&gt;&gt;&gt;<i> from Crypto.Cipher import AES
</I>&gt;&gt;<i> Traceback (most recent call last):
</I>&gt;&gt;<i>   File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
</I>&gt;&gt;<i> ModuleNotFoundError: No module named 'Crypto'
</I>&gt;&gt;&gt;&gt;&gt;<i> from Crypto.Random import get_random_bytes
</I>&gt;&gt;<i> Traceback (most recent call last):
</I>&gt;&gt;<i>   File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
</I>&gt;&gt;<i> ModuleNotFoundError: No module named 'Crypto'
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Are they out of date please Martin?
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> regards
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> On 22 July 2017 at 09:38, Martin Falatic &lt;<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">martin at falatic.com</A>&gt; wrote:
</I>&gt;&gt;&gt;<i> Not sure about the error you got, but generally if you are
</I>&gt;<i>installing things
</I>&gt;&gt;&gt;<i> directly into Linux system library areas you'll need root / sudo to
</I>&gt;<i>do it.
</I>&gt;&gt;&gt;<i> I'm surprised that didn't come up with pycrypto, but it might be an
</I>&gt;<i>artifact
</I>&gt;&gt;&gt;<i> of other install attempts.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> If in doubt, that sounds like good info for an issue on the github
</I>&gt;<i>issue
</I>&gt;&gt;&gt;<i> tracker for pycryptodome.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> On 2017-07-22 00:44, Dave Pawson wrote:
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> pip uninstalled pycrypto!
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Re install instructions. Fedora 26, requires root for installation?
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> running install_lib
</I>&gt;&gt;&gt;&gt;<i>     copying build/lib.linux-x86_64-3.6/Cryptodome/__init__.py -&gt;
</I>&gt;&gt;&gt;&gt;<i> /usr/lib64/python3.6/site-packages/Cryptodome
</I>&gt;&gt;&gt;&gt;<i>     error: could not delete
</I>&gt;&gt;&gt;&gt;<i> '/usr/lib64/python3.6/site-packages/Cryptodome/__init__.py':
</I>&gt;&gt;&gt;&gt;<i> Permission denied
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Not mentioned on
</I>&gt;&gt;&gt;&gt;<i> <A HREF="https://www.pycryptodome.org/en/latest/src/installation.html">https://www.pycryptodome.org/en/latest/src/installation.html</A>
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i>  python3 -m Cryptodome.SelfTest
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> ...
</I>&gt;&gt;&gt;&gt;<i> Ran 22656 tests in 37.023s
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Tks
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> On 22 July 2017 at 08:34, Dave Pawson &lt;<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">dave.pawson at gmail.com</A>&gt;
</I>&gt;<i>wrote:
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> Having installed pycrypto, is the only way to remove it to find
</I>&gt;<i>the
</I>&gt;&gt;&gt;&gt;&gt;<i> files and remove manually?
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> (groan) - or will pycryptodome run alongside pycrypto please?
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> Tia
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> On 21 July 2017 at 20:21, Martin Falatic &lt;<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">martin at falatic.com</A>&gt;
</I>&gt;<i>wrote:
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> As this project hasn't seen commits on master (or perhaps any
</I>&gt;<i>branch) in
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> over three years, it appears to be dead.
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> However, pycryptodome is alive and well! It's a fork off the
</I>&gt;<i>latest
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> pycrypto
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> and contains many bugfixes, enhancements. Most importantly, it's
</I>&gt;<i>an
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> ongoing
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> project.
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> <A HREF="https://github.com/Legrandin/pycryptodome">https://github.com/Legrandin/pycryptodome</A>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> <A HREF="https://www.pycryptodome.org/">https://www.pycryptodome.org/</A>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> There are two ways to install it: for a seamless experience I
</I>&gt;<i>recommend
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> uninstalling pycrypto (if present) and installing pycryptodome.
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> (pycryptodomex has its uses for some, but would mean editing your
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> imports,
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> whereas pycryptodome is a drop-in replacement for pycrypto.)
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> If you have issues with installing or using pycryptodome, there
</I>&gt;<i>are
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> resources there to guide you and an active issue tracker as well.
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Good luck!
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>  - Marty
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>    www.falatic.com
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> On 2017-07-21 07:16, Dave Pawson wrote:
</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> Installing on a new system, Fedora 26, 64 bit.
</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> Builds OK using setup.py for python 2.7
</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> Fails on python 3.x?
</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> Should this be built in a different way please?
</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> TiA
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> --
</I>&gt;&gt;&gt;&gt;&gt;<i> Dave Pawson
</I>&gt;&gt;&gt;&gt;&gt;<i> XSLT XSL-FO FAQ.
</I>&gt;&gt;&gt;&gt;&gt;<i> Docbook FAQ.
</I>&gt;&gt;&gt;&gt;&gt;<i> <A HREF="http://www.dpawson.co.uk">http://www.dpawson.co.uk</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> --
</I>&gt;&gt;<i> Dave Pawson
</I>&gt;&gt;<i> XSLT XSL-FO FAQ.
</I>&gt;&gt;<i> Docbook FAQ.
</I>&gt;&gt;<i> <A HREF="http://www.dpawson.co.uk">http://www.dpawson.co.uk</A>
</I>&gt;<i>
</I>&gt;<i>
</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>-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.dlitz.net/pipermail/pycrypto/attachments/20170916/9e0c7f3d/attachment.html">http://lists.dlitz.net/pipermail/pycrypto/attachments/20170916/9e0c7f3d/attachment.html</A>&gt;
</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message (by thread): <A HREF="000907.html">[pycrypto] Build error, 2.6.1
</A></li>
	
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#908">[ date ]</a>
              <a href="thread.html#908">[ thread ]</a>
              <a href="subject.html#908">[ subject ]</a>
              <a href="author.html#908">[ 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>