diff options
Diffstat (limited to 'pipermail/pycrypto/2012q3/000629.html')
-rw-r--r-- | pipermail/pycrypto/2012q3/000629.html | 173 |
1 files changed, 173 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2012q3/000629.html b/pipermail/pycrypto/2012q3/000629.html new file mode 100644 index 0000000..fe1af28 --- /dev/null +++ b/pipermail/pycrypto/2012q3/000629.html @@ -0,0 +1,173 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [pycrypto] chmod error in Windows 7, when trying to install + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20chmod%20error%20in%20Windows%207%2C%20when%20trying%20to%20install&In-Reply-To=%3CCAHAkNZ1ZOZEVihY3%2BsU0YFbBg-r-K9TAbgfE-GTKL3BO6FNLgQ%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="000628.html"> + <LINK REL="Next" HREF="000630.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[pycrypto] chmod error in Windows 7, when trying to install</H1> + <B>Philip Horger</B> + <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=Re%3A%20%5Bpycrypto%5D%20chmod%20error%20in%20Windows%207%2C%20when%20trying%20to%20install&In-Reply-To=%3CCAHAkNZ1ZOZEVihY3%2BsU0YFbBg-r-K9TAbgfE-GTKL3BO6FNLgQ%40mail.gmail.com%3E" + TITLE="[pycrypto] chmod error in Windows 7, when trying to install">campadrenalin at gmail.com + </A><BR> + <I>Wed Sep 5 19:23:04 EDT 2012</I> + <P><UL> + <LI>Previous message: <A HREF="000628.html">[pycrypto] chmod error in Windows 7, when trying to install +</A></li> + <LI>Next message: <A HREF="000630.html">[pycrypto] chmod error in Windows 7, when trying to install +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#629">[ date ]</a> + <a href="thread.html#629">[ thread ]</a> + <a href="subject.html#629">[ subject ]</a> + <a href="author.html#629">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>As I understand it, compiling and setting PyCrypto up from source on Windows +requires MinGW. It might also support Cygwin. But some sort of UNIX-y layer to +work with as common ground. + +On Wed, Sep 5, 2012 at 4:21 PM, Andrew Cooper <<A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">andyhhp at gmail.com</A>> wrote: +><i> +</I>><i> On 05/09/2012 17:48, Mike Anderson wrote: +</I>>><i> I'm using Windows 7 Ultimate, and trying to install pycrypto, but +</I>>><i> getting an error "'chmod' is not recognized as an internal or external +</I>>><i> command." +</I>>><i> +</I>>><i> It happens like so: +</I>>>><i> pip install ssh +</I>>><i> ... +</I>>><i> copying lib\Crypto\Signature\__init__.py -> build\lib.win32-2.7\Crypto\Signature +</I>>><i> +</I>>><i> +</I>>><i> running build_ext +</I>>><i> +</I>>><i> running build_configure +</I>>><i> +</I>>><i> 'chmod' is not recognized as an internal or external command, +</I>>><i> +</I>>><i> operable program or batch file. +</I>>><i> +</I>>><i> Traceback (most recent call last): +</I>>><i> +</I>>><i> File "<string>", line 1, in <module> +</I>>><i> +</I>>><i> File "C:\Users\killer\build\pycrypto\setup.py", line 456, in <module> +</I>>><i> +</I>>><i> core.setup(**kw) +</I>>><i> +</I>>><i> File "C:\Python27\lib\distutils\core.py", line 152, in setup +</I>>><i> +</I>>><i> dist.run_commands() +</I>>><i> +</I>>><i> File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands +</I>>><i> +</I>>><i> self.run_command(cmd) +</I>>><i> +</I>>><i> File "C:\Python27\lib\distutils\dist.py", line 972, in run_command +</I>>><i> +</I>>><i> cmd_obj.run() +</I>>><i> +</I>>><i> File "C:\Python27\lib\site-packages\setuptools\command\install.py", line 53, i +</I>>><i> n run +</I>>><i> +</I>>><i> return _install.run(self) +</I>>><i> +</I>>><i> File "C:\Python27\lib\distutils\command\install.py", line 563, in run +</I>>><i> +</I>>><i> self.run_command('build') +</I>>><i> +</I>>><i> File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command +</I>>><i> +</I>>><i> self.distribution.run_command(command) +</I>>><i> +</I>>><i> File "C:\Python27\lib\distutils\dist.py", line 972, in run_command +</I>>><i> +</I>>><i> cmd_obj.run() +</I>>><i> +</I>>><i> File "C:\Python27\lib\distutils\command\build.py", line 127, in run +</I>>><i> +</I>>><i> self.run_command(cmd_name) +</I>>><i> +</I>>><i> File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command +</I>>><i> +</I>>><i> self.distribution.run_command(command) +</I>>><i> +</I>>><i> File "C:\Python27\lib\distutils\dist.py", line 972, in run_command +</I>>><i> +</I>>><i> cmd_obj.run() +</I>>><i> +</I>>><i> File "C:\Users\killer\build\pycrypto\setup.py", line 251, in run +</I>>><i> +</I>>><i> self.run_command(cmd_name) +</I>>><i> +</I>>><i> File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command +</I>>><i> +</I>>><i> self.distribution.run_command(command) +</I>>><i> +</I>>><i> File "C:\Python27\lib\distutils\dist.py", line 972, in run_command +</I>>><i> +</I>>><i> cmd_obj.run() +</I>>><i> +</I>>><i> File "C:\Users\killer\build\pycrypto\setup.py", line 273, in run +</I>>><i> +</I>>><i> raise RuntimeError("chmod error") +</I>>><i> +</I>>><i> RuntimeError: chmod error +</I>><i> +</I>><i> This is because you are on windows and setup.py is trying to run unix +</I>><i> commands. +</I>><i> +</I>><i> To a cursory glance, it appears to be a bug in pycrypto's setup.py It +</I>><i> should either provide a windows compatible way of performing autoconf +</I>><i> and friends (unlikely), or provide a windows alternative way of +</I>><i> configuring stuff and conditionally invoke the correct one for the system. +</I>><i> +</I>><i> ~Andrew +</I>><i> +</I>>><i> _______________________________________________ +</I>>><i> pycrypto mailing list +</I>>><i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto at lists.dlitz.net</A> +</I>>><i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</A> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> pycrypto mailing list +</I>><i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">pycrypto at lists.dlitz.net</A> +</I>><i> <A HREF="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</A> +</I></PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000628.html">[pycrypto] chmod error in Windows 7, when trying to install +</A></li> + <LI>Next message: <A HREF="000630.html">[pycrypto] chmod error in Windows 7, when trying to install +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#629">[ date ]</a> + <a href="thread.html#629">[ thread ]</a> + <a href="subject.html#629">[ subject ]</a> + <a href="author.html#629">[ 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> |