JupyterLab is a great way to interactively play around with Python, e.g. when doing data science, i.e. examining a data set. Here is my favorite way to install it. Main advantage in my opinion: This type of installation does not install JupyterLab globally, but scoped to a specific folder.
- Python 3.x (is installed by default on Ubuntu/Debian and macOS)
- The awesome Poetry Python package manager. See Installation Docs. Installation is a one-line command 😎
poetry init --no-interaction: Initialize a new empty Poetry project
poetry add jupyterlab: Install JupyterLab in a separate virtual environment (does not clash with your existing installed Python packages)
poetry run jupyter-lab: Run JupyterLab ⇒ you will receive an URL under which you can visit & use the running instance.
Boom, you’re done! 🎉
In the future, you can run JupyterLab from this folder by simply running the last command,
poetry run jupyter-lab. 🚀
- Get Total Directory Size via Command Line
- Changing DNS server for Huawei LTE router
- Notes on Job & Career Development
- Adding full-text search to a static site (= no backend needed)
- Generating a random string on Linux & macOS
- Caddy web server: Why use it? How to use it?
- Tailwind CSS: A Primer
- Versicherungen: Learnings
- Screen Recording on macOS (without any extra tools)
- WSL2 Cheat Sheet