> For the complete documentation index, see [llms.txt](https://guydwilks.gitbook.io/pytorch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guydwilks.gitbook.io/pytorch/installing-necessary-components.md).

# Installing necessary components

This page will cover installing the base components for a windows computer

## Installing Python

To install python navigate to <https://www.python.org/downloads/> and download version 3.8.1 of python

## Installing pygame on your computer

To install pygame on your computer, open windows power shell and paste the following command in:

```
$ pip3 install pygame
```

{% hint style="info" %}
&#x20;You may need admin privileges to install the library.
{% endhint %}

Now create a folder where ever you want and create a file within called main.py

Open IDLE (make sure its version 3.8.1) and open main.py
