You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by ashishdutt <as...@gmail.com> on 2015/07/09 11:07:00 UTC

WindowsError: [Error 2] The system cannot find the file specified

Hi,

My environment: OS= Windows 7 64 bit, Python version=2.7, Spark=1.3.0
Hadoop=winutils

Q1) When i invoke the command 

from pyspark import SparkContext i get an error message 
DLL load failed: %1 is not a valid Win32 application.

However when I invoke the command 
import pyspark 

there is no error- Why did the error appear on the first command above?

Q2) When I try to create a SparkContext using the command, 

sc = SparkContext("local", "SimpleApp") Capture1.PNG
<http://apache-spark-user-list.1001560.n3.nabble.com/file/n23738/Capture1.PNG>  
Capture2.PNG
<http://apache-spark-user-list.1001560.n3.nabble.com/file/n23738/Capture2.PNG>  
I get the error "WindowsError: [Error 2] The system cannot find the file
specified"  How can I fix these problems.

Attached is the screenshot for full error list for Q2

Thank you,
Ashish 



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/WindowsError-Error-2-The-system-cannot-find-the-file-specified-tp23738.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org