[Biopython-dev] [SPAM] Re: [Numpy-discussion] Python extensions for Python 3.5 - useful info...

Peter Cock p.j.a.cock at googlemail.com
Mon Aug 31 13:56:03 UTC 2015


On Mon, Aug 31, 2015 at 2:49 PM, Ben Fulton <ben at benfulton.net> wrote:
> This is 32-bit Python running on Windows 8.1. Were you interested in the
> 64-bit version?

We are interested in 64-bit Windows, but there are additional complications
with the compiler chain (thus the unofficial NumPy etc binaries Christoph
Gohlke releases).

Let's focus on 32-bit Python under Windows for now.

> The issue is not that "echo" is missing, but that platform.win32_ver()[0]
> rather than "7" or "8" returns "post2012Server", which in turn causes the
> Popen call to run with shell=false. I think this indicates a bug in Python
> itself.

Or just in Bio/Application/__init__.py perhaps?

Can you try applying this small change?

--- a/Bio/Application/__init__.py
+++ b/Bio/Application/__init__.py
@@ -486,7 +486,7 @@ class AbstractCommandline(object):
             use_shell = True
         else:
             win_ver = platform.win32_ver()[0]
-            if win_ver in ["7", "8"]:
+            if win_ver in ["7", "8", "post2012Server"]:
                 use_shell = True
             else:
                 use_shell = False


We need to find a volunteer with Windows 10 as well...

> Are people available to look at the skipping errors?
>

I've not had a chance to try Python 3.5rc2 myself yet.

Peter


More information about the Biopython-dev mailing list