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

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -