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

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

java - How to compare two classes -

mysql - Gateway Timeout Error on Insert 70000 record using Hibernate in Java -