os.environ['SPARK_HOME'] = '/Users/myUser/Downloads/spark-1.6.1-bin-hadoop2.6'
os.environ['PYSPARK_PYTHON'] = '/usr/local/Cellar/python3/3.5.1/bin/python3'
sys.path.append('/Users/myUser/Downloads/spark-1.6.1-bin-hadoop2.6/python')
How to link PyCharm with PySpark?