Skip to content

Python Environment Setup

Isaac Kerson edited this page Aug 22, 2024 · 2 revisions

In this guide, you'll learn how to set up a development environment for Python using Miniconda, Git, and Visual Studio Code on a Windows machine. Additionally, you'll find instructions on using the Windows command line to manage your development environment. Ensure that you follow the steps below to download, install, and configure the necessary software.

Downloads

Conda Environment

Conda is a powerful package manager that allows you to create and manage environments for your Python projects. It helps in managing dependencies and ensuring that your code runs consistently across different machines. Conda comes with Python, so there’s no need to install Python separately. Follow the steps below to install Conda on your Windows machine.

  1. Download the latest 64-bit Windows Miniconda installer. Make sure to select the most recent version. Miniconda Download Page
  2. Run the installer and follow the instructions. Be sure to select Add Miniconda3 to your PATH environment variable. during the installation process. Miniconda Advanced Installation
  3. Open a new Windows command prompt (cmd) and run conda --version to verify that Conda is installed correctly.
  4. For a step-by-step guide, watch Downloading and Installing Miniconda3.

Git

Git is a version control system that allows you to track changes in your code and collaborate with others. It's essential for managing code and ensuring that you can easily revert to previous versions if necessary. Follow the instructions below to install Git on a Windows machine.

  1. Download the Git installer for Windows. Select the most recent version available at the top right of the page. Git Download Page
  2. Run the installer and follow the instructions, accepting all default options.
  3. Open a new Windows command prompt (cmd) and run git --version to verify that Git is installed correctly.
  4. For step-by-step instructions, watch Installing Git on Windows.

Visual Studio Code

Visual Studio Code (VSCode) is a popular, lightweight code editor with features tailored for Python development, such as code completion, debugging, and Git integration. Follow the instructions below to install VSCode on a Windows machine.

  1. Download the VSCode installer for Windows. Make sure to select the most recent version. VSCode Download Page
  2. Run the installer and follow the instructions, accepting all default options.
  3. Reboot your computer to ensure that all changes are applied.
  4. For a step-by-step guide, watch Installing VSCode on Windows.

GitHub Account

GitHub is a platform that allows you to store and share Git repositories. It's an essential tool for collaboration and version control. Follow the instructions below to create a GitHub account:

  1. If you don't have a GitHub Account, go to GitHub and click Sign Up in the top right corner.
  2. Follow the instructions to create an account.

Resources

Clone this wiki locally