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. 🚀
- Resources: Learning web languages the modern way
- csplit: Splitting a text file into individual files according to a certain pattern
- My Windows setup
- Tea Board: Trying out tea & rating it
- Linux (Debian/Ubuntu): Finding out whether a package is installed
- Windows: Adding programs to autostart
- Hosts file: What is it, why is it useful & how to edit it?
- Vagrant & VirtualBox shared folders: Getting symlinks to work on a Windows host
- SSH: Finding out ECDSA key fingerprint (both server-side & client-side)
- PowerPoint: Inserting Source Code with Syntax Highlighting