Course
llm-zoomcamp
Question
I am using GitHub Codespaces and added a Python package, but imports fail in my Jupyter notebook?
Answer
Run uv pip list in the terminal to make sure you have actually installed the package.
If the package is there, you are likely running your Jupyter notebook in the wrong virtual environment/workspace/kernel.
On GitHub Codespaces, you can change change the kernel near the top of the screen (generally the environment you want is the name of your repository).
Checklist
Course
llm-zoomcamp
Question
I am using GitHub Codespaces and added a Python package, but imports fail in my Jupyter notebook?
Answer
Run
uv pip listin the terminal to make sure you have actually installed the package.If the package is there, you are likely running your Jupyter notebook in the wrong virtual environment/workspace/kernel.
On GitHub Codespaces, you can change change the kernel near the top of the screen (generally the environment you want is the name of your repository).
Checklist