spark_scripts need to install pip: yum install python-pip need to install findspark: pip install findspark install pyspark: pip install pyspark add to your ~/.bashrc: export SPARK_HOME=/usr/lib/python2.7/site-packages/pyspark