Python in VS Code on MacOS

Posted: 2024-06-18
Tags: Python, MacOS, Jupyter, VS Code

Xcode is not a good IDE for Python. It can be done1, but VS Code is a better plan.

Actionable Takeaways

Use deactivate to get out of the virtual environment.

Why venv?

It is a good idea to be able to containerize a project’s Python modules for easy disposal.

Apple uses Miniconda in their developer documentation2, but I dislike installing extra software when venv does everything I need.

  1. Medium - Using Python in Xcode 

  2. Apple Developer - Accelerated PyTorch training on Mac