niklas2902 / py4godot

Python scripting for Godot. This GDExtension plugin allows you to use Python like GDScript, accessing the Godot engine's features and benefiting from Python's vast ecosystem.
MIT License
65 stars 7 forks source link

how to install packages here? #79

Open Manik2607 opened 1 month ago

Manik2607 commented 1 month ago

i want to use some ML packages. is it possible?

niklas2902 commented 3 weeks ago

Hey, thank you for your question. I do it by downloading get-pip.py from https://bootstrap.pypa.io/get-pip.py. I then copy this into the folder, where my python version is located (e.g. on linux addons/py4godot/cpython-3.12.4-linux64/python/bin). There I open a shell and then execute ./python get-pip.py. After this I install packages using ./python -m pip install. I hope this helps. If you have any trouble or any questions, feel free to ask.

Manik2607 commented 3 weeks ago

Thanks that helps a lot. Do you have an official documentation page for this I think it's really important?

niklas2902 commented 3 weeks ago

It's good to hear that that helped. I'm trying to document here: Wiki. But there is a lot missing. I will try to improve that

Manik2607 commented 2 weeks ago

thanks that helps.