<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/day-5-virtual-environments-jupyter-notebooks-setting-up-your-actual-ai-workspace-ocjuj5nro" -->

---
title: Day 5: Virtual Environments & Jupyter Notebooks, Setting...
description: Day 5 of a 50-day AI engineering learning series covers setting up a Python virtual environment (venv) to isolate project dependencies, then installing and...
canonical: https://daily.dev/posts/day-5-virtual-environments-jupyter-notebooks-setting-up-your-actual-ai-workspace-ocjuj5nro
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Day 5: Virtual Environments & Jupyter Notebooks, Setting Up Your Actual AI Workspace | daily.dev
og:description: Day 5 of a 50-day AI engineering learning series covers setting up a Python virtual environment (venv) to isolate project dependencies, then installing and...
og:url: https://daily.dev/posts/day-5-virtual-environments-jupyter-notebooks-setting-up-your-actual-ai-workspace-ocjuj5nro
og:image: https://api.daily.dev/og/posts/OCJuj5NRo.png
og:image:alt: Day 5: Virtual Environments & Jupyter Notebooks, Setting Up Your Actual AI Workspace
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Day 5: Virtual Environments & Jupyter Notebooks, Setting Up Your Actual AI Workspace

**[Medium](https://daily.dev/sources/medium_js)** · 5 min read · 1 upvotes · 0 comments

## Summary

Day 5 of a 50-day AI engineering learning series covers setting up a Python virtual environment (venv) to isolate project dependencies, then installing and configuring Jupyter Notebooks for AI/data science work. It explains why isolated environments prevent version conflicts between projects, walks through creating and activating a venv, installing packages, and linking the environment to Jupyter via ipykernel so notebooks use the correct isolated Python. Ends with a hands-on exercise and a recap of the first five days covering Python basics, data structures, NumPy, and Pandas, before previewing the next stage on math intuition for ML.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/@sangavi2205/day-5-virtual-environments-jupyter-notebooks-setting-up-your-actual-ai-workspace-02a05c589aa3>

## Questions this post answers

### How do I connect a Python virtual environment to Jupyter Notebook so it uses the right kernel?

Install ipykernel inside the activated virtual environment, then run python -m ipykernel install --user --name=my-ai-env to register it as a Jupyter kernel. Afterward, select that named kernel from the Kernel menu inside Jupyter so the notebook uses the isolated project environment instead of the system's default Python.

_daily.dev surfaces setup guides like this for developers wiring their Python environment into Jupyter._

### Why should I use a virtual environment instead of installing Python packages globally for AI or data science projects?

Virtual environments prevent version conflicts between projects that need different versions of the same library, which is common in AI and ML work. Installing packages globally means one project's upgrade can silently break another project depending on an older version, so each project gets its own isolated copy of Python and its packages instead.

_Developers choosing a dependency setup for ML projects can track best practices like this on daily.dev._

## Similar posts on daily.dev

- [Virtual Environment in Python \(Venv\)](https://daily.dev/posts/virtual-environment-in-python-venv--7efouzsbc) · Medium · 0 upvotes · 0 comments
- [How to use virtual environments in Python](https://daily.dev/posts/how-to-use-virtual-environments-in-python-cnm4rzle8) · InfoWorld · 0 upvotes · 0 comments
- [Working With Python Virtual Environments Quiz – Real Python](https://daily.dev/posts/working-with-python-virtual-environments-quiz-real-python-5rsplfamu) · Real Python · 0 upvotes · 0 comments
- [Python virtual environments: isolation without the chaos](https://daily.dev/posts/python-virtual-environments-isolation-without-the-chaos-w0gvfs2ur) · The New Stack · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#data-science](https://daily.dev/tags/data-science), [#jupyter](https://daily.dev/tags/jupyter), [#pip](https://daily.dev/tags/pip)

[View this post on daily.dev](https://daily.dev/posts/day-5-virtual-environments-jupyter-notebooks-setting-up-your-actual-ai-workspace-ocjuj5nro)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Day 5: Virtual Environments \u0026 Jupyter Notebooks, Setting Up Your Actual AI Workspace","url":"https://daily.dev/posts/day-5-virtual-environments-jupyter-notebooks-setting-up-your-actual-ai-workspace-ocjuj5nro","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/day-5-virtual-environments-jupyter-notebooks-setting-up-your-actual-ai-workspace-ocjuj5nro"},"datePublished":"2026-09-09T18:06:09.720Z","dateModified":"2026-09-13T19:10:36.565Z","description":"Day 5 of a 50-day AI engineering learning series covers setting up a Python virtual environment (venv) to isolate project dependencies, then installing and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ee40d5535160ac49a53ef89c898cb1b1?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ee40d5535160ac49a53ef89c898cb1b1?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Medium","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Medium","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium","url":"https://daily.dev/sources/medium_js"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/day-5-virtual-environments-jupyter-notebooks-setting-up-your-actual-ai-workspace-ocjuj5nro","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,data-science,jupyter,pip","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Medium","item":"https://daily.dev/sources/medium_js"},{"@type":"ListItem","position":3,"name":"Day 5: Virtual Environments \u0026 Jupyter Notebooks, Setting Up Your Actual AI Workspace"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/day-5-virtual-environments-jupyter-notebooks-setting-up-your-actual-ai-workspace-ocjuj5nro#faq","mainEntity":[{"@type":"Question","name":"How do I connect a Python virtual environment to Jupyter Notebook so it uses the right kernel?","acceptedAnswer":{"@type":"Answer","text":"Install ipykernel inside the activated virtual environment, then run python -m ipykernel install --user --name=my-ai-env to register it as a Jupyter kernel. Afterward, select that named kernel from the Kernel menu inside Jupyter so the notebook uses the isolated project environment instead of the system's default Python. daily.dev surfaces setup guides like this for developers wiring their Python environment into Jupyter."}},{"@type":"Question","name":"Why should I use a virtual environment instead of installing Python packages globally for AI or data science projects?","acceptedAnswer":{"@type":"Answer","text":"Virtual environments prevent version conflicts between projects that need different versions of the same library, which is common in AI and ML work. Installing packages globally means one project's upgrade can silently break another project depending on an older version, so each project gets its own isolated copy of Python and its packages instead. Developers choosing a dependency setup for ML projects can track best practices like this on daily.dev."}}]}
```

