pyspark - Spyder anaconda cloudera -


i work cloudera vm 5.4.2

i have .py want execute instruction instruction.

i installed in cloudera vm anaconda. , try use spyder.

my .py has instruction

from pyspark.mllib.clustering import kmeans, kmeansmodel   importerror: no module named 'pyspark' 

how have configure spyder work pyspark

add spark_home , pyspark_home in .bashrc. , makes sure py4j module installed or not


Comments

Popular posts from this blog

c# - Get the Class name in a class with atribute inside a attribute method -

java - How to compare two classes -

javascript - Why Selenium can't find an element that is graphically visible -