What docker image you are using?
jupyter/pyspark-notebook
What complete docker command do you run to launch the container?
docker run -p 8888:8888 jupyter/pyspark-notebook
What steps do you take once the container is running to reproduce the issue?
import pysparkWhat do you expect to happen?
Import pyspark
What actually happens?
ModuleNotFoundError: No module named 'pyspark'

Fix
conda install pyspark works - it seems pyspark is not bundled during docker creation
Thanks
Hello,
Sorry it's a bug introduced in a recent the PR #1007 , PYTHONPATH was broken.
It has been fixed in PR #1017 and a test has been added to avoid this in the future.
So you can pull the last version (jupyter/pyspark-notebook:31b807ec9e83) it's fixed.
Sorry for the inconvenience.
Works, thanks!
Most helpful comment
Hello,
Sorry it's a bug introduced in a recent the PR #1007 ,
PYTHONPATHwas broken.It has been fixed in PR #1017 and a test has been added to avoid this in the future.
So you can pull the last version (
jupyter/pyspark-notebook:31b807ec9e83) it's fixed.Sorry for the inconvenience.