diff options
Diffstat (limited to 'pipermail/pycrypto/2012q3/000628.html')
-rw-r--r-- | pipermail/pycrypto/2012q3/000628.html | 164 |
1 files changed, 164 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2012q3/000628.html b/pipermail/pycrypto/2012q3/000628.html new file mode 100644 index 0000000..9d397fd --- /dev/null +++ b/pipermail/pycrypto/2012q3/000628.html @@ -0,0 +1,164 @@ +<!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=%3C5047DE60.3040004%40gmail.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="000627.html"> + <LINK REL="Next" HREF="000629.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[pycrypto] chmod error in Windows 7, when trying to install</H1> + <B>Andrew Cooper</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=%3C5047DE60.3040004%40gmail.com%3E" + TITLE="[pycrypto] chmod error in Windows 7, when trying to install">andyhhp at gmail.com + </A><BR> + <I>Wed Sep 5 19:21:04 EDT 2012</I> + <P><UL> + <LI>Previous message: <A HREF="000627.html">[pycrypto] chmod error in Windows 7, when trying to install +</A></li> + <LI>Next message: <A HREF="000629.html">[pycrypto] chmod error in Windows 7, when trying to install +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#628">[ date ]</a> + <a href="thread.html#628">[ thread ]</a> + <a href="subject.html#628">[ subject ]</a> + <a href="author.html#628">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE> +On 05/09/2012 17:48, Mike Anderson wrote: +><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> +This is because you are on windows and setup.py is trying to run unix +commands. + +To a cursory glance, it appears to be a bug in pycrypto's setup.py It +should either provide a windows compatible way of performing autoconf +and friends (unlikely), or provide a windows alternative way of +configuring stuff and conditionally invoke the correct one for the system. + +~Andrew + +><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="000627.html">[pycrypto] chmod error in Windows 7, when trying to install +</A></li> + <LI>Next message: <A HREF="000629.html">[pycrypto] chmod error in Windows 7, when trying to install +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#628">[ date ]</a> + <a href="thread.html#628">[ thread ]</a> + <a href="subject.html#628">[ subject ]</a> + <a href="author.html#628">[ 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> |