# Install pyspark for Python3 in Anaconda JupyterLab

**URL:** <https://forum.anaconda.com/t/install-pyspark-for-python3-in-anaconda-jupyterlab/46899>\
**Category:** How to Leverage This Community\
**Created:** [December 5, 2022, 12:05am UTC](https://forum.anaconda.com/t/install-pyspark-for-python3-in-anaconda-jupyterlab/46899 "2022-12-05T00:05:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clement\_Lam1](https://avatars.discourse-cdn.com/v4/letter/c/00a5b5/32.png) [@Clement\_Lam1](https://forum.anaconda.com/u/Clement_Lam1)\
**Post date:** [December 5, 2022, 12:05am UTC](https://forum.anaconda.com/t/install-pyspark-for-python3-in-anaconda-jupyterlab/46899/1 "2022-12-05T00:05:41Z")

</div>

Hi Anaconda community,

I have used the Anaconda platform for fastAPI development using Pycharm IDE.  
I am now learning how to start pyspark tasks in Anaconda JupyterLab in Python3

From the Udacity online course, I notice JupyterNotebook configuration there only need to select Pyhton3 as kernel. Pyspark dependent libraries can be imported in ipynb cells as needed.  
However, the default JupyterLab in Anaconda kernel: Python3 (ipykernel).  
It cannot find module pyspark. I could not replicate the env. as Udacity workspace.

I found the URL and followed the steps, it does not help: [Install PySpark in Anaconda & Jupyter Notebook - Spark by {Examples}](https://sparkbyexamples.com/pyspark/install-pyspark-in-anaconda-jupyter-notebook/)  
It provides more kernels: Python

conda list of my env as below:  
anaconda custom py39\_1  
anaconda-client 1.9.0 py39haa95532\_0  
anaconda-navigator 2.2.0 py39haa95532\_0  
anaconda-project 0.10.2 pyhd3eb1b0\_0  
ipykernel 6.9.1 py39haa95532\_0  
ipython 8.2.0 py39haa95532\_0  
ipython\_genutils 0.2.0 pyhd3eb1b0\_1  
ipywidgets 7.6.5 pyhd3eb1b0\_1

Anyone knows how to install pyspark in Anaconda JupyterLab such that pyspark appears “incorporate” into Python3 kernel in JupyterLab as Udacity workspace does.  
Thanks in anticipation.
