This document outlined details of the basic installation instructions.
Note: We use Windows 11 with the Linux subsystem, in showing this example. However there is nothing in these that is specific to Windows, and you can use the same, or very similar instructions across both Mac OS, and different flavors of Linux.
If you don't already have an IDE, you can use Visual Studio Code for free; you can read up more on Visual Studio Code here, and download and install it from here.
To install Conda on Windows 11, you can follow the steps below. For our purposes we use Miniconda but you can also use Anaconda if that is preferred.
- Download the installer from the official website. You can choose between the Miniconda installer or the Anaconda installer.
- Verify the installer hashes.
- Double-click the
.exe
file and follow the instructions on the screen. If you are unsure about any setting, accept the defaults. You can change them later. - Once installation is complete, open the Anaconda Prompt from the Start menu.
- To verify that Conda has been installed correctly, run
conda list
in your terminal window or Anaconda Prompt. A list of installed packages appears if it has been installed correctly.
The step-by-step install instructions for Miniconda are shown below.
- Run the installer
- Agree to the T&Cs
- Select install type - I prefer All Users.
4.Choose Install Location - I just keep the defaults
- Advanced Installation options - I select the clear cache option
- Installing
- Installation Complete
- Initialize
conda
for PowerShell but runningconda init powershell
. This needs to be in a new console window, after the installation is done.
- Update base conda packages by running
conda update --all
To check which version of Python is installed run the following command: python --version
. If Python is not installed you will see an error similar to the one shown below.
💡Note : If you installed python using Conda then you should not install Python seperately - usually you want one or the other, but not both as it can lead to conflicts when debugging.
You can install Python using two ways on Windows as outlined below.
Here are the steps to install Python on Windows 11:
- Open a web browser and navigate to the Python website.
- Download the Windows installer for Python 3.x.
- Double-click on the downloaded file and follow the installation wizard.
- During installation, select the option to add Python to your system's PATH environment variable. This will allow you to run Python from any directory in the command prompt.
- Once installation is complete, open a command prompt and type
python
to verify that Python is installed correctly.
Alternatively, you can install Python via the Microsoft Store by following these steps:
- Open the Microsoft Store app.
- Search for "Python" in the search bar.
- Select the version of Python you want to install and click "Get".
- Wait for the installation process to complete.
Step-by-step install instructions for Python are shown below.
- Make sure to select the option for adding python to PATH.
- Installation in progress
- Disable the path length limit
- Completed
- Restart your CLI for the path to reflect.
To install Git on Windows, you can follow the steps below:
- Download the latest Git for Windows installer from the official website.
- Run the installer with administrator privileges and follow the instructions on the screen.
- Once installation is complete, open a command prompt or Git Bash and run
git version
to verify that Git has been installed correctly as we see below.
If you need more detailed instructions, you can refer to one of these video tutorials:
- How to Install Git on Windows - How-To Geek by How-To Geek.
- Install Git | Atlassian Git Tutorial by Atlassian.