Hey thanks for still checking up on this, I just figured out the issue. It had to do with me trying to load the numpy library. I had originally thought that I could just install it globally and it would find it, but I was wrong and a friend pointed out that the PythonScript addon is installs a version of python locally on the project and independent from the rest of python. So I followed the directions here: https://godotengine.org/asset-library/asset/179 (I am using Linux btw) and installed the numpy library from the local pip in the project.
And for those that may have an issue trying to use pip, at least on Linux, make the python3 executable (chmod +x python3
) and then run python -m pip install thing
. And as the guide states if pip is not found run python -m ensurepip
.
Thanks again TwistedTwigleg, I had seen that first issue you linked but taking another look at it made me realize that he was not using a library and then found the true issue. Another thing that didn't help me resolve this issue is either with Godot showing the improper error or the PythonScript addon just has the file not load if it fails at loading the library. I will file a ticket to see if there can potentially be a better output on Godot to state that the python script had an issue loading a library.