Skip to content

pysprark module not found with pyspark image #4

@artm

Description

@artm
  1. create a dev container from quay.io/jupyter/pyspark-notebook:latest
  2. create a notebook
  3. select base python kernel
  4. enter:
from pyspark.sql import SparkSession
  1. run and get:
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[1], [line 1](vscode-notebook-cell:?execution_count=1&line=1)
----> [1](vscode-notebook-cell:?execution_count=1&line=1) from pyspark.sql import SparkSession
ModuleNotFoundError: No module named 'pyspark'

what am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions