<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

      <title>Comments on: Help compiling python on XP with Cygwin.</title>
      <link>http://ask.metafilter.com/20977/Help-compiling-python-on-XP-with-Cygwin/</link>
      <description>Comments on Ask MetaFilter post Help compiling python on XP with Cygwin.</description>
	  	  <pubDate>Sun, 10 Jul 2005 01:42:57 -0800</pubDate>
      <lastBuildDate>Sun, 10 Jul 2005 01:42:57 -0800</lastBuildDate>
      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>

<item>
  	<title>Question: Help compiling python on XP with Cygwin.</title>
  	<link>http://ask.metafilter.com/20977/Help-compiling-python-on-XP-with-Cygwin</link>	
  	<description>Help compiling python on XP with Cygwin. &lt;br /&gt;&lt;br /&gt; I have been playing around with python these last weeks, and have run up against the following problem: some modules don&apos;t have precompiled binaries for windows. No problem, right? Just use easy_install to download and compile on the fly.&lt;br&gt;
Wrong: I get a &quot;python installation was compiled with Visual Basic 7..... must have to compile&quot; or something to that effect. I don&apos;t feel like &quot;finding&quot; the VB kit, installing it etc. It&apos;s like 4 Gb.&lt;br&gt;
What I would like is to use my Cygwin to compile python, this way I could use easy_install to compile anything else I need (right?).&lt;br&gt;
I have not been able to find step-by-step instructions on how to do this, and would appreciate it if one of you kind sentients would point me in the right direction, linkwise or with actual instructions.</description>
  	<guid isPermaLink="false">post:ask.metafilter.com,2008:site.20977</guid>
  	<pubDate>Sun, 10 Jul 2005 00:25:13 -0800</pubDate>
  	<dc:creator>signal</dc:creator>
	
	<category>python</category>
	
	<category>cygwin</category>
	
	<category>compiling</category>
	
</item>
<item>
  	<title>By: effugas</title>
  	<link>http://ask.metafilter.com/20977/Help-compiling-python-on-XP-with-Cygwin#340192</link>	
  	<description>Nah, just use the .NET devkit:&lt;br&gt;
&lt;br&gt;
http://msdn.microsoft.com/visualc/vctoolkit2003/&lt;br&gt;
&lt;br&gt;
I love Cygwin, but Python really likes being pure Win32.&lt;br&gt;
&lt;br&gt;
Alternatively, run http://www.cygwin.com/setup.exe and make sure both python and gcc are checked off.  Run from the shell provided by Cygwin, of course.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.20977-340192</guid>
  	<pubDate>Sun, 10 Jul 2005 01:42:57 -0800</pubDate>
  	<dc:creator>effugas</dc:creator>
</item>
<item>
  	<title>By: grouse</title>
  	<link>http://ask.metafilter.com/20977/Help-compiling-python-on-XP-with-Cygwin#340193</link>	
  	<description>As effugas said, you are using the Python from Cygwin setup.exe, not the Win32 Python from python.org.&lt;br&gt;
&lt;br&gt;
I&apos;ve been using Cygwin Python for more than two years. I find it&apos;s much easier to configure and deal with than Win32 Python. It&apos;s also much slower and doesn&apos;t support those win32 extensions as easily.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.20977-340193</guid>
  	<pubDate>Sun, 10 Jul 2005 01:48:05 -0800</pubDate>
  	<dc:creator>grouse</dc:creator>
</item>
<item>
  	<title>By: signal</title>
  	<link>http://ask.metafilter.com/20977/Help-compiling-python-on-XP-with-Cygwin#340249</link>	
  	<description>grouse: Im actually using the Windows binaries and didnt install the cygwin ones (because I already had the win ones).&lt;br&gt;
So, what do you people recomend: keep thin windows version and download .NET, or install the cygwin version, or both?&lt;br&gt;
Thanks!</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.20977-340249</guid>
  	<pubDate>Sun, 10 Jul 2005 08:42:25 -0800</pubDate>
  	<dc:creator>signal</dc:creator>
</item>
<item>
  	<title>By: Nelson</title>
  	<link>http://ask.metafilter.com/20977/Help-compiling-python-on-XP-with-Cygwin#340250</link>	
  	<description>You&apos;ll definitely be happier with &lt;a href=&quot;http://www.python.org/download/&quot;&gt;Win32 Python&lt;/a&gt;. As you say, if you have a C code module that&apos;s not ported to Win32 Python you&apos;ll have a heck of a time building it, but in practice I&apos;ve found most of the modules I&apos;ve wanted have been compiled by someone already.&lt;br&gt;
&lt;br&gt;
Win32 Python switched from VC6 to VC7 sometime recently, I think with Python 2.4 release. There&apos;s been a lot of griping about it on comp.lang.python; if you search hard enough, you&apos;ll probably find instructions for how to build it with free tools.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.20977-340250</guid>
  	<pubDate>Sun, 10 Jul 2005 08:44:08 -0800</pubDate>
  	<dc:creator>Nelson</dc:creator>
</item>
<item>
  	<title>By: formless</title>
  	<link>http://ask.metafilter.com/20977/Help-compiling-python-on-XP-with-Cygwin#340253</link>	
  	<description>I&apos;ve been working with Python on win32 for the past few weeks.  I&apos;ve got MinGW and Cygwin setup on my system.  One of the problems you might be having is that the Python libraries are in MSVC++ format.  See the following page for generating a gcc compatible version:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://sebsauvage.net/python/mingw.html&quot;&gt;Creating .a  library&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
If you&apos;re using Python 2.4, just replace python22 with python24.&lt;br&gt;
&lt;br&gt;
If this works, you probably won&apos;t need to recompile Python.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.20977-340253</guid>
  	<pubDate>Sun, 10 Jul 2005 08:48:48 -0800</pubDate>
  	<dc:creator>formless</dc:creator>
</item>
<item>
  	<title>By: grouse</title>
  	<link>http://ask.metafilter.com/20977/Help-compiling-python-on-XP-with-Cygwin#340262</link>	
  	<description>Based on the problem you have already experienced, I think Cygwin Python will be easier if you value your time. If you don&apos;t, then by all means search for Win32 versions of stuff, install Microsoft&apos;s tools, or use the workaround provided by formless.&lt;br&gt;
&lt;br&gt;
I use both, but usually only Win32 Python when I have to.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.20977-340262</guid>
  	<pubDate>Sun, 10 Jul 2005 09:42:27 -0800</pubDate>
  	<dc:creator>grouse</dc:creator>
</item>
<item>
  	<title>By: devilsbrigade</title>
  	<link>http://ask.metafilter.com/20977/Help-compiling-python-on-XP-with-Cygwin#340267</link>	
  	<description>On Windows I find it much easier to accept the Win32 environment to some extent and change it to my liking, rather than install Cygwin. Use Win32 Python, use tcsh instead of cmd.exe, download an alternate console instead of the default semi-DOS one, and download the set of native Win32 UNIX utils. You&apos;ll be much happier than in cygwin.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.20977-340267</guid>
  	<pubDate>Sun, 10 Jul 2005 10:00:37 -0800</pubDate>
  	<dc:creator>devilsbrigade</dc:creator>
</item>

    </channel>
</rss>
