Installation

IDE setup for Python.

Install Python LSP server (Emacs)

This is required for the lsp-mode in Emacs.

pip install "python-lsp-server[all]"

Run Jupyter Notebooks with VS Code

  1. Install Jupyter extension for VS Code.

  2. Create a virtual environment in the project directory.

# Use any virtual environment
 
python3 -m venv ~/Workspace/my-project/.venv
source ~/Workspace/my-project/.venv/bin/activate
  1. In VS Code, press Cmd+Shift+P, select Python: Select Interpreter and choose the virtual env you just created.