CS 111
Fall 2025
  • Home
  • Lectures
  • Labs
  • Problem Sets
  • Resources
  • Syllabus
  • Schedule
  • Staff
  • Office Hours
  • Collaboration
  • Participation
  • Blackboard
  • Python Tutor
  • Piazza
  • Gradescope

Installation instructions on a Mac (alternative version)

  • Adjusting your keyboard language
  • Installing Python and Spyder
  • Configuring Spyder
  • Allowing Python to import files
  • Lowering security settings

Adjusting your keyboard language

While using the software for this course, your computer’s keyboard language must be set to English. If needed, please follow these instructions to change your keyboard language.

Installing Python and Spyder

  1. Go to the download section for the Anaconda distribution of Python.

  2. Click the green Download button.

  3. If you receive an error message that says you are downloading from an unsafe or unknown site, you’ll need to change your security preferences, at least temporarily, by taking the steps outlined in the Lowering security settings section below.

  4. Double-click on the downloaded file in your Downloads folder (the name of the file should begin with Anaconda3 and end with .pkg). This should start an automatic installer.

  5. You should be able to use all of the default settings that the installer gives you. Wait for the installer to finish and then close it. You can now delete the installer by dragging the .pkg file to the Trash.

  6. Running Spyder, option 1:

    • Use the Spotlight tool to search for and run the Anaconda Navigator.

    • Within the Anaconda Navigator, find the section for Spyder and click the Launch button.

    Running Spyder, option 2:

    • Run Terminal.

    • Enter the following from the command line:

      spyder
      

Configuring Spyder

Once you have installed Spyder, you must configure it by following the instructions found here.

Allowing Python to import files

Occasionally, we need one of our Python files to import code from another Python file. To ensure that Python is able to do this, you should take the following steps:

  1. Navigate to System Preferences (using the Spotlight tool as needed).

  2. Select Security and Privacy.

  3. Select Files and Folders.

  4. Find Spyder in your list of applications and give it access to your Desktop, Downloads, and Documents folders.

Lowering security settings

OS X may stop you from downloading or running applications downloaded from the Web (as opposed to through the Mac App Store) unless you lower your security settings. Here’s how to adjust them so that you may install and run applications from anywhere:

  1. Open System Preferences, located under the Apple menu in the top left corner.
  2. In the Security & Privacy preference pane, click the lock icon and authenticate as an administrator user.
  3. Make sure the radio button under Allow applications downloaded from: is set to Anywhere.
  4. Re-download or re-open the desired application.

Last updated on September 7, 2025.