title: Setting up CMUSphinx/PocketSphinx on Windows 7
body: <p>I have been trying this for hours now, but cannot seem to get this right. I am trying to download Pocketsphinx for use of command recognition in Python.</p>
  
  <p>So first thing I did was attempt to install SphinxBase, which is required for Pocketsphinx to work. So here we go. I downloaded the files, the tar.gz zip. I followed the instructions in the README document in order to install on windows.</p>
  
  <pre><code>To compile sphinxbase in Visual Studio 2010 Express (or newer):
  1, unzip the file.
  2, rename the directory to sphinxbase
  3, go into the sphinxbase folder and click sphinxbase.sln
  4, in the menu, choose Build -&gt; Rebuild All -&gt; Batch Build -&gt; Build
  </code></pre>
  
  <p>I have never used visual before, but it seemed pretty self explanatory. First thing I did was unzip and rename. Next up I opened the SLN project in visual, selected all 6 projects, the Files>Build Selection. It build with all 6 projects succeeding. Great, that's done. Now was that really all? I had to do?</p>
  
  <p>Next up was PocketSphinx. I downloaded the tar.gz again, and basically did the same process.</p>
  
  <pre><code> * load pocketsphinx.sln in pocketsphinx directory
   * compile all the projects in PocketSphinx
  </code></pre>
  
  <p>All builds succeeded in being built. So... done, right? After this, I am lost. Most tutorials stop here and do not actually go into using Pocketsphinx in other languages. I need to be able to use it in Python.</p>
  
  <p>So I did some digging around and found a setup_win32.py file under pocketsphinx/python. I tried to run this in the command prompt but go multiple errors. Now I am running windows 64 bit, but could this cause this issue?
  <a href="http://hastebin.com/japobecusi.tex" rel="nofollow">http://hastebin.com/japobecusi.tex</a></p>
  
  <p>So all in all, I just need help getting this to work with Python. I am very inexperienced in these things currently. Thanks</p>
  
  <p>One more thing, I am considering switching to my Ubuntu Linux partition in order to almost make it easier on myself. Most programs, including this one, seem to only use windows 32, like 64 is unacceptable apparently. So would it benefit me to move over to a Linux platform to work in Python? Would it be easier?</p>
  
  <p>Thanks for any help in advance.</p>