Checking Your pandas Version
Why This Matters
We’ll start using pandas in a week or two. Tools like pandas release new versions now and then, so the exact versions on your computer depend on the day you first ran setup.py. Before we start, let’s make sure everyone is up to date and consistent with the autograder, which uses Python 3.14.7 and pandas 3.0.6. That way, code that works on your computer also works the same way on the autograder.
Everyone should follow the steps below, even if you think your setup is already fine. They don’t change any code you’ve written. They only update your setup files and the tools inside your .venv folder.
Step 1: Get the Updated Setup Files
Download EECS_183_update.zip. It contains updated versions of three files you already have: requirements.txt, setup.py, and test_env.py. We’ll replace your old copies with these. After downloading, click to expand the appropriate box below.
- Open your
Downloadsfolder in File Explorer. (PasteC:\Users\%username%\Downloadsinto the address bar, as in tutorial 1.) - Right-click
EECS_183_update.zipand chooseExtract All..., then clickExtract. A new window opens showing the three files. - In that window, press ctrl+A to select all three files, then ctrl+C to copy them.
- Open your
EECS_183folder (double-click the shortcut on your desktop). Click in an empty area of the window and press ctrl+V to paste. - Windows will say the destination already has files with these names. Choose
Replace the files in the destination.
- Open your
Downloadsfolder in Finder. You should see a newEECS_183_updatefolder. (If you seeEECS_183_update.zipinstead, double-click it to unzip it.) - Open the
EECS_183_updatefolder. Press ⌘+A to select all three files, then ⌘+C to copy them. - Open your
EECS_183folder (double-click the alias on your desktop). Click in an empty area of the window and press ⌘+V to paste. - Finder will say that items with these names already exist. Check
Apply to all, then chooseReplace.
Step 2: Run setup.py
- Open your
EECS_183folder in VS Code, as usual. If you have any Python programs or Jupyter notebooks running, stop or close them first. - In the
EXPLORERarea, double-clicksetup.pyto open it. - With
setup.pyopen, hit the right-pointing triangle (“play” button) in the upper-right corner of VS Code to run it.
This may take several minutes, since it downloads the exact versions of several tools. You can let it run in the background. It’s done when you see this at the end of the output in the TERMINAL area:
==================================================
SUCCESS! Your environment is ready.
==================================================
(Below that it also lists some “next steps” you already did when you first set up VS Code. You can ignore them.)
Step 3: Run test_env.py
- In the
EXPLORERarea, double-clicktest_env.pyto open it. - With
test_env.pyopen, hit the “play” button again to run it.
You should see output like the following. The .venv folder location on the second line will be different for you, but everything else should match exactly, with [OK] on every line:
Checking Python environment... (Python 3.14.7)
[OK] Python 3.14
[OK] Virtual Environment Active (C:\Users\Steve\Documents\EECS_183\.venv)
------------------------------------------------------------
[OK] numpy 2.5.3
[OK] pandas 3.0.6
[OK] matplotlib 3.11.2
[OK] seaborn 0.13.2
[OK] scikit-learn 1.9.1
[OK] jupyterlab 4.6.3
[OK] imageio 2.37.4
[OK] flake8 7.3.0
[OK] pep8-naming 0.15.1
[OK] flake8-bugbear 26.9.9
------------------------------------------------------------
SUCCESS! Your environment is ready for class.
If so, you’re done! If not, check the troubleshooting notes below.
Troubleshooting
VS Code is using the wrong version of Python.
- Look in the lower-right corner of VS Code (with
setup.pyopen). If it shows a version other than 3.14, follow the steps in Opening a Python File (and Selecting the Python Interpreter If Necessary) to choose Python 3.14, then runsetup.pyagain. - If Python 3.14 isn’t one of the choices, you’ll need to install it first by following the Installing Python tutorial. You don’t need to uninstall any other version of Python you have. Then choose Python 3.14 as described above, and run
setup.pyagain. - If
setup.pysays your existing.venvuses a different version of Python and deletes it, that’s expected. It builds a new one. When it finishes, close and reopen VS Code, and then go to Step 3.
Some program is still using the tools that setup.py is trying to update. Close VS Code completely (and any Jupyter notebooks or other Python programs), reopen VS Code, and run setup.py again.
VS Code is not using your .venv, so the versions shown aren’t the ones your programs normally use. Follow the steps in Selecting the Python Interpreter (with a venv), then run test_env.py again.
If none of these help, come to office hours or post on Piazza. Include a screenshot of the output of both setup.py and test_env.py.
Copyright and Intellectual Property Notice
© 2026 Steven Bogaerts. All rights reserved.
All materials provided for this course, including but not limited to labs, projects, notes, and starter code, are the copyrighted intellectual property of the author(s).
- Student Use: These materials are provided solely for the educational use of students currently enrolled in this course at the University of Michigan - Ann Arbor. Students may not copy, reproduce, republish, or distribute these materials (in part or in full) to any public or private platform.
- External and Instructor Use: No part of these materials may be used, adapted, or distributed by external instructors or institutions without the explicit written permission of the author(s).
To request permission to use or adapt these materials for educational purposes, please contact the author(s).