# Installation Guide ## System Requirements - **Operating System**: Windows 10+, macOS 12+, or Linux - **RAM**: 4 GB minimum (8 GB recommended) - **Storage**: 2 GB free space - **Python**: Version 3.9 or higher ## Option 1: pip Installation ```bash # Create virtual environment python -m venv pandas-course # Activate (Windows) pandas-course\Scripts\activate # Activate (macOS/Linux) source pandas-course/bin/activate # Install packages pip install pandas numpy jupyter matplotlib seaborn pip install openpyxl xlrd sqlalchemy lxml pyarrow fastparquet pip install scipy statsmodels plotly ``` ## Option 2: Conda Installation ```bash conda create -n pandas-training python=3.11 conda activate pandas-training conda install pandas numpy jupyter matplotlib seaborn conda install openpyxl xlrd sqlalchemy lxml pyarrow fastparquet conda install scipy statsmodels plotly ``` ## Option 3: environment.yml ```bash conda env create -f environment.yml conda activate pandas-training ``` ## Verify Installation ```python import pandas as pd import numpy as np import matplotlib.pyplot as plt import jupyter print(f"Pandas version: {pd.__version__}") print(f"NumPy version: {np.__version__}") print("All packages installed successfully!") ``` ## Jupyter Notebook Setup ```bash # Launch Jupyter Notebook jupyter notebook # Or JupyterLab jupyter lab ``` ## VS Code Setup 1. Install [VS Code](https://code.visualstudio.com/) 2. Install Python extension 3. Install Jupyter extension 4. Open the course folder 5. Select the Python interpreter from your virtual environment 6. Open any `.ipynb` file to start ## Troubleshooting ```{warning} If you encounter issues, ensure your Python version is 3.9+ and you have activated the correct virtual environment. ``` ### Common Issues | Issue | Solution | |-------|----------| | `pip not found` | Add Python to PATH during installation | | `ModuleNotFoundError` | Activate virtual environment and reinstall | | `Jupyter kernel error` | Run `python -m ipykernel install --user` | | `Permission denied` | Use `--user` flag or run as administrator |