title: Why does executing `sbt assembly` fail with "Not a valid command: assembly"?
body: <p>I am trying trying to install spark so that I can use spark in my ipython notebook by following the guide here:
  <a href="https://beingzy.github.io/tutorial/2014/10/13/spark-tutorial-Part-I-setting-up-spark-and-ipython-notebook-within-10-minutes.html" rel="nofollow noreferrer">https://beingzy.github.io/tutorial/2014/10/13/spark-tutorial-Part-I-setting-up-spark-and-ipython-notebook-within-10-minutes.html</a></p>
  
  <p>So I download the spark, newest version 1.5.2 and run the "build spark" part. Here is the error msg i got:</p>
  
  <pre><code>C:\Users\Administrator\Downloads\spark-1.5.2\sbt&gt;sbt assembly
  [info] Set current project to sbt (in build file:/C:/Users/Administrator/Downloa
  ds/spark-1.4.0/sbt/)
  [error] Not a valid command: assembly
  [error] Not a valid project ID: assembly
  [error] Expected ':' (if selecting a configuration)
  [error] Not a valid key: assembly
  [error] assembly
  [error]         ^
  </code></pre>
  
  <p>I came across a similar question on stakoverflow. However, the original question is on Ubuntu and mine is on windows. Plus,I don't have a folder spark-0.8.1-incubating as suggested in the answer, so the solution cannot work for me.</p>
  
  <p><a href="https://stackoverflow.com/questions/21245669/sbt-sbt-assembly-errors-not-a-valid-command-assembly-for-apache-spark-pro">&quot;./sbt/sbt assembly&quot; errors &quot;Not a valid command: assembly&quot; for Apache Spark project</a></p>
  
  <p>Pls help!</p>