diff options
Diffstat (limited to 'pipermail/pycrypto/2017/000906.html')
-rw-r--r-- | pipermail/pycrypto/2017/000906.html | 192 |
1 files changed, 192 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2017/000906.html b/pipermail/pycrypto/2017/000906.html new file mode 100644 index 0000000..d9962eb --- /dev/null +++ b/pipermail/pycrypto/2017/000906.html @@ -0,0 +1,192 @@ +<!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=%3CCAEncD4cSKKmSn5cJVHQP2TNW4O%2B%2BK%3DnKS%3DOFcAjjUdTSxA%3D4YA%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=utf-8"> + <LINK REL="Previous" HREF="000905.html"> + <LINK REL="Next" HREF="000907.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[pycrypto] Build error, 2.6.1</H1> + <B>Dave Pawson</B> + <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20Build%20error%2C%202.6.1&In-Reply-To=%3CCAEncD4cSKKmSn5cJVHQP2TNW4O%2B%2BK%3DnKS%3DOFcAjjUdTSxA%3D4YA%40mail.gmail.com%3E" + TITLE="[pycrypto] Build error, 2.6.1">dave.pawson at gmail.com + </A><BR> + <I>Fri Sep 15 18:21:32 UTC 2017</I> + <P><UL> + <LI>Previous message (by thread): <A HREF="000905.html">[pycrypto] Build error, 2.6.1 +</A></li> + <LI>Next 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#906">[ date ]</a> + <a href="thread.html#906">[ thread ]</a> + <a href="subject.html#906">[ subject ]</a> + <a href="author.html#906">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>New (Windows 10) machine. +installed python 3.6.2 +pip install pycryptodomex +SelfTest ran fine. + +Tried the examples at <A HREF="https://www.pycryptodome.org/en/latest/src/examples.html">https://www.pycryptodome.org/en/latest/src/examples.html</A> + + +C:\Users\Dave Pawson>python +Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:57:36) [MSC v.1900 64 +bit (AMD64)] on win32 +Type "help", "copyright", "credits" or "license" for more information. +>>><i> from Crypto.Cipher import AES +</I>Traceback (most recent call last): + File "<stdin>", line 1, in <module> +ModuleNotFoundError: No module named 'Crypto' +>>><i> from Crypto.Random import get_random_bytes +</I>Traceback (most recent call last): + File "<stdin>", line 1, in <module> +ModuleNotFoundError: No module named 'Crypto' + + + +Are they out of date please Martin? + +regards + + + +On 22 July 2017 at 09:38, Martin Falatic <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">martin at falatic.com</A>> wrote: +><i> Not sure about the error you got, but generally if you are installing things +</I>><i> directly into Linux system library areas you'll need root / sudo to do it. +</I>><i> I'm surprised that didn't come up with pycrypto, but it might be an artifact +</I>><i> of other install attempts. +</I>><i> +</I>><i> If in doubt, that sounds like good info for an issue on the github issue +</I>><i> tracker for pycryptodome. +</I>><i> +</I>><i> +</I>><i> +</I>><i> On 2017-07-22 00:44, Dave Pawson wrote: +</I>>><i> +</I>>><i> pip uninstalled pycrypto! +</I>>><i> +</I>>><i> Re install instructions. Fedora 26, requires root for installation? +</I>>><i> +</I>>><i> running install_lib +</I>>><i> copying build/lib.linux-x86_64-3.6/Cryptodome/__init__.py -> +</I>>><i> /usr/lib64/python3.6/site-packages/Cryptodome +</I>>><i> error: could not delete +</I>>><i> '/usr/lib64/python3.6/site-packages/Cryptodome/__init__.py': +</I>>><i> Permission denied +</I>>><i> +</I>>><i> Not mentioned on +</I>>><i> <A HREF="https://www.pycryptodome.org/en/latest/src/installation.html">https://www.pycryptodome.org/en/latest/src/installation.html</A> +</I>>><i> +</I>>>><i> python3 -m Cryptodome.SelfTest +</I>>><i> +</I>>><i> ... +</I>>><i> Ran 22656 tests in 37.023s +</I>>><i> +</I>>><i> Tks +</I>>><i> +</I>>><i> On 22 July 2017 at 08:34, Dave Pawson <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">dave.pawson at gmail.com</A>> wrote: +</I>>>><i> +</I>>>><i> Having installed pycrypto, is the only way to remove it to find the +</I>>>><i> files and remove manually? +</I>>>><i> +</I>>>><i> (groan) - or will pycryptodome run alongside pycrypto please? +</I>>>><i> +</I>>>><i> Tia +</I>>>><i> +</I>>>><i> On 21 July 2017 at 20:21, Martin Falatic <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">martin at falatic.com</A>> wrote: +</I>>>>><i> +</I>>>>><i> As this project hasn't seen commits on master (or perhaps any branch) in +</I>>>>><i> over three years, it appears to be dead. +</I>>>>><i> +</I>>>>><i> However, pycryptodome is alive and well! It's a fork off the latest +</I>>>>><i> pycrypto +</I>>>>><i> and contains many bugfixes, enhancements. Most importantly, it's an +</I>>>>><i> ongoing +</I>>>>><i> project. +</I>>>>><i> +</I>>>>><i> <A HREF="https://github.com/Legrandin/pycryptodome">https://github.com/Legrandin/pycryptodome</A> +</I>>>>><i> +</I>>>>><i> <A HREF="https://www.pycryptodome.org/">https://www.pycryptodome.org/</A> +</I>>>>><i> +</I>>>>><i> There are two ways to install it: for a seamless experience I recommend +</I>>>>><i> uninstalling pycrypto (if present) and installing pycryptodome. +</I>>>>><i> +</I>>>>><i> (pycryptodomex has its uses for some, but would mean editing your +</I>>>>><i> imports, +</I>>>>><i> whereas pycryptodome is a drop-in replacement for pycrypto.) +</I>>>>><i> +</I>>>>><i> If you have issues with installing or using pycryptodome, there are +</I>>>>><i> resources there to guide you and an active issue tracker as well. +</I>>>>><i> +</I>>>>><i> Good luck! +</I>>>>><i> +</I>>>>><i> - Marty +</I>>>>><i> www.falatic.com +</I>>>>><i> +</I>>>>><i> +</I>>>>><i> On 2017-07-21 07:16, Dave Pawson wrote: +</I>>>>>><i> +</I>>>>>><i> +</I>>>>>><i> Installing on a new system, Fedora 26, 64 bit. +</I>>>>>><i> Builds OK using setup.py for python 2.7 +</I>>>>>><i> +</I>>>>>><i> Fails on python 3.x? +</I>>>>>><i> +</I>>>>>><i> Should this be built in a different way please? +</I>>>>>><i> +</I>>>>>><i> TiA +</I>>>><i> +</I>>>><i> +</I>>>><i> +</I>>>><i> +</I>>>><i> -- +</I>>>><i> Dave Pawson +</I>>>><i> XSLT XSL-FO FAQ. +</I>>>><i> Docbook FAQ. +</I>>>><i> <A HREF="http://www.dpawson.co.uk">http://www.dpawson.co.uk</A> +</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 (by thread): <A HREF="000905.html">[pycrypto] Build error, 2.6.1 +</A></li> + <LI>Next 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#906">[ date ]</a> + <a href="thread.html#906">[ thread ]</a> + <a href="subject.html#906">[ subject ]</a> + <a href="author.html#906">[ 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> |