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

ios - Is 'init' forbidden as *part* of a variable name? -

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

file - Python: AttributeError: 'str' object has no attribute 'readlines' -