title: Installing WEKA for python on Mac
body: <p>I have been attempting to install WEKA for python on my macbook and have been running into some trouble.</p>
  
  <p>First, I installed WEKA through macports:</p>
  
  <pre><code>sudo port install weka
  </code></pre>
  
  <p>This went smoothly.<br>
  Then, in accordance with <a href="https://pypi.python.org/pypi/weka" rel="nofollow">the PyPI page</a>, I tried this command:</p>
  
  <pre><code>sudo pip install -U https://github.com/chrisspen/weka/tarball/master
  </code></pre>
  
  <p>However, this gives me the following error:</p>
  
  <pre><code>AssertionError: Weka JAR file /usr/share/java/weka.jar not found. Ensure the file is installed or update your environment's WEKA_JAR_PATH to only include valid locations.
  </code></pre>
  
  <p>To fix this, I downloaded WEKA from <a href="http://www.cs.waikato.ac.nz/ml/weka/downloading.html" rel="nofollow">the University of Waikato page</a>, and copied <code>weka.jar</code> as follows:</p>
  
  <pre><code>sudo cp /Volumes/weka-3-6-10/weka-3-6-10/weka.jar /usr/share/java/
  </code></pre>
  
  <p>Then, running the pip install command again, I get the following error:</p>
  
  <pre><code>AssertionError: Weka JAR file /usr/share/java/libsvm.jar not found. Ensure the file is installed or update your environment's WEKA_JAR_PATH to only include valid locations.
  </code></pre>
  
  <p>How should I go about fixing this error?</p>
  
  <p>I'm on Mac OSX 10.9.1 (Mavericks), if it matters</p>