How to install Jupyter lab

7-Day Challenge

Land Your First Data Science Job

A proven roadmap to prepare for $75K+ entry-level data roles. Perfect for Data Scientist ready to level up their career.

Build portfolios that hiring managers love
Master the Python and SQL essentials to be industry-ready
Practice with real interview questions from tech companies
Access to the $100k/y Data Scientist Cheatsheet

Join thousands of developers who transformed their careers through our challenge. Unsubscribe anytime.

Jupyter lab is one of the most widely used Python IDE for Data Science.

Why?

Jupyter lab allows you to execute code snippets stored in cells instead of running the entirety of a Python script.

The kind of document Jupyter lab produces are called Jupyter notebooks (.ipynb).

This is extremely useful when performing exploratory analyses.

You don't need to re-run your script every time you make a change, you can just run the cell containing the change.

Another great feature of notebooks is the ability to add markdown text in cells so that you can enrich your Python script with images, titles, lists, links, etc...

How to install Jupyter lab

Jupyter lab is a browser based editor, it means that you can make it work with any browser of your choice.

To install Juypter lab you will need to use Python's package manager and run this command in your terminal.

pip install jupyterlab

Once the loading is done, you should have jupyter lab installed.

How to run Jupyter lab

In order to start Jupyter lab, you will need to run the following command in your terminal.

jupyter lab .

or

jupyter-lab .

You will then end with an url and a token, like so.

http://localhost:8888/lab?token=7187137961f738f6d81f2ce82405117d988f184f59b4e106

If you open this url you will end up on a up and running Jupyter lab instance!

Well done! You now know how to install Jupyter lab.

7-Day Challenge

Land Your First Data Science Job

A proven roadmap to prepare for $75K+ entry-level data roles. Perfect for Data Scientist ready to level up their career.

Build portfolios that hiring managers love
Master the Python and SQL essentials to be industry-ready
Practice with real interview questions from tech companies
Access to the $100k/y Data Scientist Cheatsheet

Join thousands of developers who transformed their careers through our challenge. Unsubscribe anytime.

Free Newsletter

Master Data Science in Days, Not Months 🚀

Skip the theoretical rabbit holes. Get practical data science skills delivered in bite-sized lessons – Approach used by real data scientist. Not bookworms. 📚

Weekly simple and practical lessons
Access to ready to use code examples
Skip the math, focus on results
Learn while drinking your coffee

By subscribing, you agree to receive our newsletter. You can unsubscribe at any time.