-
Notifications
You must be signed in to change notification settings - Fork 8
Installing packages for python
Niklas Zimmer edited this page Aug 23, 2024
·
1 revision
Note: These instructions have been tested only on Windows.
You'll need the get-pip.py file to install pip. Download it from the official Python website: get-pip.py.
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 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
Once pip is installed, you can use it to install Python packages. For example:
pip install <package-name>