Installing Jupyter Notebook using pip

Mwangi Anthony
2 min readDec 1, 2023

--

Hey Morio,

So, you know how everyone’s always going on about that Anaconda package for your data science or machine learning work? But have you ever noticed that it takes up a boatload of space on your machine? And let’s not even talk about the times it messes up the Python installations and other packages too. Sometimes it even confuses you with the Virtual environments you are using, probably for software development. That’s a total bummer, isn’t it?

So here’s what you can do to keep things light, in case you feel Anaconda has graduated from being a helpful snake to your py-bite.

I’m breaking this down like our old Lego sets—simple and understandable.

You might already have a Virtual environment set up and activated on your machine (I remember you mentioning that once). Now, all you gotta do is pop up your terminal or command prompt — yeah, that black screen that feels like the matrix — and run the following command:

pip install jupyterlab

Let me explain a little. This command connects to something called the Python Package Index (or PyPI—yes, pronounced like “pie pie”!). PyPI is like an awesome librarian who finds the JupyterLab package for you, downloads it, and installs it on your machine. And pap! You’ve got JupyterLab on your comp.

JupyterLab, in case you were wondering, is like your personal playground. You can create and share files with live code, equations, visualisations, and even your original text!

Alright, onwards. Now let’s install the Jupyter Notebook. It’s pretty straightforward—just use this command:

pip install notebook

Wrap it up and power on the notebook, using this epic command:

jupyter notebook

And you’re done! Now you have a fully functional Jupyter notebook without the heavy Anaconda package.

Enjoy coding, my friend!

--

--

Mwangi Anthony
Mwangi Anthony

No responses yet