Running Your Own Jupyter Environment#
Complete Setup Guide for Applied Biostatistics
Set Up Your Local Environment đ»
Follow these step-by-step instructions to install Anaconda Python, launch Jupyter notebooks, and install the course helper package on your computer.
Perfect for: Students who prefer working locally or need offline access to course materials.
Why Use a Local Environment?#
Local installations typically run faster than cloud-based solutions and donât require internet connectivity for computation.
Keep your data and analyses completely private on your own machine without uploading to cloud services.
Work with large datasets without worrying about cloud storage quotas or session timeouts.
Install additional packages, customize your environment, and integrate with other local tools as needed.
Installation Instructions by Operating System#
Select your operating system below for detailed installation instructions:
Step 1: Download Anaconda
Visit the Anaconda website
Click âDownloadâ under the Windows section
Choose the 64-bit installer (recommended for most modern computers)
The download file will be named something like
Anaconda3-2024.02-1-Windows-x86_64.exe
Step 2: Install Anaconda
Run the installer by double-clicking the downloaded
.exe
fileClick âNextâ on the welcome screen
Accept the license agreement and click âNextâ
Choose âJust Me (recommended)â and click âNextâ
Keep the default installation location (usually
C:\Users\YourName\anaconda3
)Important: Check âAdd Anaconda3 to my PATH environment variableâ
â ïž The installer warns against this, but it makes using conda much easier
Click âInstallâ and wait for completion (this may take 10-15 minutes)
Click âFinishâ when installation is complete
Step 3: Launch Jupyter
Option 1: Using Anaconda Navigator (Recommended for beginners)
Open Anaconda Navigator from the Start Menu
Click âLaunchâ under Jupyter Notebook
Your web browser will open with the Jupyter interface
Option 2: Using Command Prompt
Press
Win + R
, typecmd
, and press EnterType
jupyter notebook
and press EnterYour web browser will open with the Jupyter interface
Step 4: Install Course Helper Package
In a new Jupyter notebook cell, run:
!pip install applied-biostats-helper
Youâll only need to do this once.
Step 1: Download Anaconda
Visit the Anaconda website
Click âDownloadâ under the macOS section
Choose the appropriate installer for your Mac:
Apple Silicon (M1/M2/M3): 64-bit ARM installer
Intel processors: 64-bit Intel installer
The download file will be named something like
Anaconda3-2024.02-1-MacOSX-arm64.pkg
Step 2: Install Anaconda
Run the installer by double-clicking the downloaded
.pkg
fileClick âContinueâ through the introduction screens
Accept the license agreement
Select your installation location (default is recommended)
Click âInstallâ and enter your password when prompted
Wait for installation to complete (this may take 10-15 minutes)
Click âCloseâ when installation is finished
Step 3: Launch Jupyter
Option 1: Using Anaconda Navigator (Recommended for beginners)
Open Anaconda Navigator from Applications or Spotlight search
Click âLaunchâ under Jupyter Notebook
Your web browser will open with the Jupyter interface
Option 2: Using Terminal
Open Terminal (Cmd + Space, type âTerminalâ)
Type
jupyter notebook
and press EnterYour web browser will open with the Jupyter interface
Step 4: Install Course Helper Package
In a new Jupyter notebook cell, run:
!pip install applied-biostats-helper
Youâll only need to do this once.
Troubleshooting for macOS:
If you get a âcommand not foundâ error, you may need to add conda to your PATH:
echo 'export PATH="$HOME/anaconda3/bin:$PATH"' >> ~/.zshrc source ~/.zshrc
Step 1: Download Anaconda
Visit the Anaconda website
Click âDownloadâ under the Linux section
Choose the 64-bit (x86) installer
The download file will be named something like
Anaconda3-2024.02-1-Linux-x86_64.sh
Step 2: Install Anaconda
Open a terminal (Ctrl + Alt + T)
Navigate to your downloads folder:
cd ~/Downloads
Make the installer executable:
chmod +x Anaconda3-2024.02-1-Linux-x86_64.sh
Run the installer:
./Anaconda3-2024.02-1-Linux-x86_64.sh
Follow the prompts:
Press Enter to review the license
Type âyesâ to accept the license
Press Enter to confirm the installation location (default recommended)
Type âyesâ when asked to initialize Anaconda3
Restart your terminal or run:
source ~/.bashrc
Step 3: Launch Jupyter
Option 1: Using Anaconda Navigator
Type
anaconda-navigator
in terminalClick âLaunchâ under Jupyter Notebook
Your web browser will open with the Jupyter interface
Option 2: Using Terminal (Recommended)
Open a new terminal
Type
jupyter notebook
and press EnterYour web browser will open with the Jupyter interface
Step 4: Install Course Helper Package
In a new Jupyter notebook cell, run:
!pip install applied-biostats-helper
Youâll only need to do this once.
Troubleshooting for Linux:
If conda commands donât work, ensure your PATH is set correctly:
echo 'export PATH="$HOME/anaconda3/bin:$PATH"' >> ~/.bashrc source ~/.bashrc
Troubleshooting Common Issues#
Problem: âconda: command not foundâ or âjupyter: command not foundâ
Solution: The installation directory isnât in your system PATH.
Windows:
Restart your command prompt or computer
If still not working, manually add
C:\Users\YourName\anaconda3\Scripts
to your PATH
macOS/Linux:
echo 'export PATH="$HOME/anaconda3/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
Problem: Jupyter opens in the wrong directory
Solution: Navigate to your desired folder before launching Jupyter.
cd /path/to/your/course/folder
jupyter notebook
Problem: Package installation fails with permission errors
Solution: Use the --user
flag to install packages in your user directory.
pip install --user git+https://github.com/DamLabResources/applied-biostats-helper.git
Problem: Browser doesnât open automatically
Solution: Jupyter will display a URL in the terminal. Copy and paste it into your web browser.
Look for something like: http://localhost:8888/?token=abc123...
Setup Guide âą Last Updated: 2025