Installation
Environment inspection
List globally installed packages.
To visualise the package dependencies, use pipdeptree
.
Setting up .venv
It is recommended that a virtual environment be created for your project.
Load environment variables via python-dotenv
Install packages listed in the requirements.txt
Creating requirements.txt
Create a requirements.txt
fire from within an existing project:
IDE setup for Python.
Install Python LSP server (Emacs)
This is required for the lsp-mode
in Emacs.
Run Jupyter Notebooks with VS Code
-
Install
Jupyter
extension for VS Code. -
Create a virtual environment in the project directory.
- In VS Code, press
Cmd+Shift+P
, selectPython: Select Interpreter
and choose the virtual env you just created.