1 Software Setup
Before the first class, please install the tools below and make sure they work on your laptop.
1.1 What You Need
- A GitHub account
- Anaconda
- Visual Studio Code
- These VS Code extensions:
PythonJupyterGitHub CopilotData WranglerRainbow CSV
1.2 Recommended Installation Order
Install the tools in this order:
- Create a GitHub account.
- Install Anaconda.
- Install VS Code.
- Open VS Code and sign in with your GitHub account.
- Install the required extensions.
1.3 Why Install VS Code Separately?
Some Anaconda installations include VS Code, but for this course I recommend installing VS Code directly from the official VS Code website anyway.
This gives everyone the same application, makes extension installation more predictable, and avoids confusion if the Anaconda-bundled version is outdated or missing features.
1.4 Anaconda
Install Anaconda first. It includes Python and the scientific packages we will use in the course.
During installation:
- Accept the default installation unless you have a specific reason not to.
- If the installer asks whether to add Anaconda to your
PATH, you can leave that unchecked.
VS Code can usually detect Anaconda environments without adding Anaconda to PATH, so PATH is not required for this course setup.
1.5 VS Code
Install VS Code from the official website:
https://code.visualstudio.com/
After installation:
- Open VS Code.
- Sign in with your GitHub account.
- Install the required extensions.
1.6 Required VS Code Extensions
Open the Extensions view in VS Code and install:
PythonJupyterGitHub CopilotData WranglerRainbow CSV
How to open the Extensions view:
- Open VS Code.
- Click the Extensions icon in the left sidebar.
- Search for each extension by name.
- Click
Install.
1.7 Python Extension
Install the Python extension in VS Code.
It helps VS Code find Python interpreters and Conda environments, and it enables Python: Select Interpreter, which you may need if VS Code does not detect Anaconda automatically.
1.8 Jupyter
Anaconda already includes Jupyter-related Python packages, but in VS Code you should also install the Jupyter extension so notebooks open and run correctly inside the editor.
1.9 Selecting the Correct Python Interpreter in VS Code
In many cases VS Code will detect the Anaconda Python interpreter automatically. If it does not, select it manually:
- Open VS Code.
- Press
Cmd+Shift+Pon macOS orCtrl+Shift+Pon Windows. - Search for
Python: Select Interpreter. - Choose the Anaconda interpreter or Conda environment from the list.
If you are working inside a notebook and VS Code asks you to choose a kernel, select the kernel that belongs to the same Anaconda or Conda environment.
If you do not see it in the list:
- Open the Command Palette again.
- Run
Python: Select Interpreter. - Choose
Enter interpreter path. - Browse to your Anaconda Python executable.
Typical locations are similar to:
- Windows:
C:\Users\YOUR_USERNAME\anaconda3\python.exe - macOS:
/Users/YOUR_USERNAME/anaconda3/bin/python
1.10 First Check
After everything is installed:
- Open VS Code.
- Create a new folder on your computer for the course, for example
data-science-course. - In VS Code, open that folder with
File -> Open Folder. - Create a new file named
test.ipynb. - If VS Code asks how to open the file, choose the notebook option.
- Select the Anaconda Python interpreter.
- If prompted, choose the matching Jupyter kernel.
- Run a cell with:
If the notebook runs successfully, your setup is ready.