Error: No module named 'findspark'

0 votes

Hi Guys,

I am trying to integrate Spark with Machine Learning. For that I want to use findspark module. But it shows me the below error.

>>> import pyspark
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'findspark'
May 6 in Apache Spark by akhtar
• 11,270 points
92 views

1 answer to this question.

0 votes

Hi@akhtar,

To import this module in your program, make sure you have findspark installed in your system. It is not present in pyspark package by default. To install this module you can use this below given command.

$ pip install findspark
answered May 6 by MD
• 24,500 points

Related Questions In Apache Spark

0 votes
1 answer

Getting error while connecting zookeeper in Kafka - Spark Streaming integration

I guess you need provide this kafka.bootstrap.servers ...READ MORE

answered May 24, 2018 in Apache Spark by Shubham
• 13,380 points
1,063 views
0 votes
1 answer
0 votes
1 answer

Spark streaming with Kafka dependency error

Your error is with the version of ...READ MORE

answered Jul 5, 2018 in Apache Spark by Shubham
• 13,380 points
344 views
0 votes
1 answer

Error while using Spark SQL filter API

You have to use "===" instead of ...READ MORE

answered Feb 4, 2019 in Apache Spark by Omkar
• 69,060 points
68 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 963 views
0 votes
0 answers
+4 votes
6 answers
0 votes
1 answer

ImportError: No module named 'pyspark'

Hi@akhtar, By default pyspark in not present in ...READ MORE

answered May 6 in Apache Spark by MD
• 24,500 points
85 views