Skip to content

Installing packages for python

Niklas Zimmer edited this page Aug 23, 2024 · 1 revision

Note: These instructions have been tested only on Windows.

To set up pip for your Python installation, follow these steps:

Download the get-pip.py Script:

You'll need the get-pip.py file to install pip. Download it from the official Python website: get-pip.py.

Navigate to Your Python Directory:

In your Godot project, locate the Python directory under the addons folder. For example, on Windows, you should navigate to "addons\py4godot\cpython-3.12.4-windows64\python".

Copy and Run get-pip.py:

Copy the downloaded get-pip.py file into the Python directory mentioned above. Open a command prompt or shell in this directory and run the script by executing: python get-pip.py

Install Packages Using pip:

Once pip is installed, you can use it to install Python packages. For example: pip install <package-name>