Я могу запустить PySpark из терминальной линии, и все работает нормально.
~/spark-1.0.0-bin-hadoop1/bin$ ./pyspark
Добро пожаловать в
____ __ / __/__ ___ _____/ /__ _\ \/ _ \/ _ `/ __/ '_/ /__ / .__/\_,_/_/ /_/\_\ version 1.0.0 /_/
Использование Python версии 2.7.6 (по умолчанию, 27 мая 2014 14:50:58)
Однако, когда я пытаюсь это сделать на IDE Python
import pyspark
ImportError: нет модуля с именем pyspark
Как импортировать его, как и другие библиотеки Python, такие как numpy, scikit и т.д.?
Работа в терминале отлично работает, я просто хотел работать в среде IDE.