/
Jupyter Python Packages and Issues
Jupyter Python Packages and Issues
Goal: When using Jupyter how are python packages managed?
Where are Python Packages Installed During a Jupyter Session?
You can use pip list -v
and conda list
to inspect what is in your environment.
Example using the default Python kernel:
# Cell
import sys
print(sys.version)
3.12.3 | packaged by Anaconda, Inc. | (main, May 6 2024, 19:46:43) [GCC 11.2.0]
Notice there are two paths:
The library path of the conda environment that this default kernel is running from:
/apps/s/jupyterlab/miniconda3/lib/python3.12/site-packages
Your local home library path related to the version of Python within this kernel:
/home/<username>/.local/lib/python3.12/site-packages
Can I pip install
?
Can I Use Conda Within My Notebook?
Jupyter Sessions
Issue: Jupyter Doesn’t Start?
Issue: Jupyter Doesn’t Start: Example
, multiple selections available,
Related content
Conda and Pip Environments and Reproducibility
Conda and Pip Environments and Reproducibility
More like this
Pip Install within a Conda Environment
Pip Install within a Conda Environment
More like this
Create an R Kernel for a Jupyter Notebook
Create an R Kernel for a Jupyter Notebook
Read with this
Python, Conda and Pip: Summary
Python, Conda and Pip: Summary
More like this
R Conda Environments and Installed Packages
R Conda Environments and Installed Packages
Read with this
Example 01: Python, Numpy and Pandas Environment
Example 01: Python, Numpy and Pandas Environment
More like this