-
Notifications
You must be signed in to change notification settings - Fork 0
Python Environment Setup
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.
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.
- Download the latest 64-bit Windows Miniconda installer. Make sure to select the most recent version.
- Run the installer and follow the instructions. Be sure to select
Add Miniconda3 to your PATH environment variable.during the installation process.
- Open a new Windows command prompt (cmd) and run
conda --versionto verify that Conda is installed correctly. - For a step-by-step guide, watch Downloading and Installing Miniconda3.
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.
- Download the Git installer for Windows. Select the most recent version available at the top right of the page.
- Run the installer and follow the instructions, accepting all default options.
- Open a new Windows command prompt (cmd) and run
git --versionto verify that Git is installed correctly. - For step-by-step instructions, watch Installing Git on Windows.
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.
- Download the VSCode installer for Windows. Make sure to select the most recent version.
- Run the installer and follow the instructions, accepting all default options.
- Reboot your computer to ensure that all changes are applied.
- For a step-by-step guide, watch Installing VSCode on Windows.
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:
- If you don't have a GitHub Account, go to GitHub and click
Sign Upin the top right corner. - Follow the instructions to create an account.