Setting up your Local Development Environment
Last updated
Was this helpful?
Last updated
Was this helpful?
This document helps you install and configure the tools you'll need to develop Python applications on your local machine.
Unless you already have one, take a moment to . We'll use this platform to manage, share, and submit different versions of our Python projects.
Afterwards, consider signing up for the , which provides some free resources.
PRIVACY OPTIONS: Many students wish to associate their personal identities with their GitHub accounts, to display a portfolio of programming projects. However, if you're concerned about privacy, you have a few options. First, consider choosing a GitHub username which is different than your university-issued net identifier. Second, avoid uploading any personally-identifiable information to your GitHub profile. Third, consider submitting projects via private repositories.
Unless you already have a text editor of choice, install .
After installing VS Code, take some time to explore its helpful features. See the professor's for more details.
Mac users who don't already have a preferred command-line application are encouraged to use the built-in Terminal application (no need to download anything, although you may want to the Terminal appearance as desired).
Windows users who don't already have a preferred command-line application are encouraged to install , which will allow Windows users to write the same unix-style commands as Mac users.
FYI: The will introduce you to the most useful commands.
IMPORTANT: remember to check the "add to PATH" option during installation, especially on Windows, so Anaconda will integrate with the other local development tools such as Git Bash on Windows.
NOTE: when using
conda
to activate a virtual environment for the first time, when prompted to do so, Windows Git Bash users may need to runconda init bash
, and Mac Zsh profile users may need to runconda init zsh
.
A "version control" tool will help us download projects from GitHub and upload projects to GitHub. We'll ultimately want to use the Git Command-line Utility (CLI) to do this. But many students think Git is harder to learn than Python, so beginners can feel free to get started with the GitHub Desktop software, which provides an easier to use graphical user interface (GUI).
Windows users who have installed Git Bash (see "Command-line Application" section above) will have satisfied the Git installation requirement.
Unless it is already installed, install for either Mac or Windows. See the professor's for more details.
Mac users may find that a system version of Git is already installed, but we want to use a newer version, to make things as easy as possible. So all Mac users are encouraged to install Git via Homebrew. See the professor's for more details.
After installing Git, all students should generate SSH keys and configure their account credentials. See the professor's for more details.
Students who want to use GitHub Desktop should first install the Git CLI (see step above), then they can also install on Mac or Windows.
After installing, you will need to login with your GitHub account credentials. See the professor's for more details.