Programming Setup
Required Software
1. Cursor IDE
Cursor is an AI-powered code editor that can help you write code faster and more efficiently. For more information and to install it, please visit the Cursor website.
2. Python Environment
We'll use Conda as our Python environment manager. It's available for Windows, macOS, and Linux.
Installing Conda
Choose one of these distributions: - Miniconda: Lightweight version - Anaconda: Full package suite - Miniforge: Community-driven version
Windows Installation
- Download the installer from your chosen distribution
- Run the
.exe
file and follow the installation wizard - Verify installation by opening Anaconda/Miniforge Prompt:
macOS Installation
- Download your chosen installer
- Open terminal and run:
- Close and reopen terminal
- Verify installation:
Linux Installation
- Download Miniconda:
- Install:
- Restart terminal
- Verify installation:
Working with Conda Environments
Creating Environments
Create a new environment with specific Python version and packages:
Managing Environments
- Activate an environment:
- List all environments:
- Install packages in active environment via
pip
:
IDE Setup
Setting Up Conda in Cursor/VSCode
-
Activate your environment:
-
Install Jupyter kernel:
-
Configure VSCode:
- Install Python extension from marketplace
- Press
Ctrl + Shift + P
(orCmd + Shift + P
on macOS) - Search for "Select Python Interpreter"
- Choose your Conda environment