I'm getting this error when importing hive context >>> from pyspark.sql import HiveContext Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/path/spark-1.1.0/python/pyspark/__init__.py", line 63, in <module> from pyspark.context import SparkContext File "/path/spark-1.1.0/python/pyspark/context.py", line 30, in <module> from pyspark.java_gateway import launch_gateway File "/path/spark-1.1.0/python/pyspark/java_gateway.py", line 26, in <module> from py4j.java_gateway import java_import, JavaGateway, GatewayClient ImportError: No module named py4j.java_gateway
I cannot find py4j on my system. Where is it?