Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'pyspark' #1

Open
ralapati1 opened this issue Aug 16, 2021 · 2 comments
Open

ModuleNotFoundError: No module named 'pyspark' #1

ralapati1 opened this issue Aug 16, 2021 · 2 comments

Comments

@ralapati1
Copy link

After step 9 in Tutorial getting below error and workflow not created.

Error message:
Unknown error executing layout generator function ModuleNotFoundError: No module named 'pyspark'

@simranjeet97
Copy link

simranjeet97 commented Aug 23, 2021

After step 9 in Tutorial getting below error and workflow not created.

Error message:
Unknown error executing layout generator function ModuleNotFoundError: No module named 'pyspark'

use ---
import findspark
findspark.init("Path to Spark Home Folder")

import pyspark

you also need to create session to run spark if you are using notebook ----
Session Creation ---
from pyspark.sql import SparkSession
spark = SparkSession.builder.appName('Nameit').getOrCreate()

@BradBender
Copy link

BradBender commented May 11, 2022

Solution is posted here: https://docs.aws.amazon.com/glue/latest/dg/blueprint_workflow_troubleshoot.html

The README.MD should really be updated to be more clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants