How to install Jupyter lab
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.
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.
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.
Related Articles
Continue your learning journey with these related topics
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. 📚