godot-python icon indicating copy to clipboard operation
godot-python copied to clipboard

Unable to load addon script from path: 'res://addons/pythonscript_repl/plugin.py'.

Open GustavoLR548 opened this issue 2 years ago • 2 comments

I was trying to install this plugin from the AssetLib inside of the Godot engine. Not only it did not work, but it wasn't showing on the "Plugins tab" in the Project Settings Window.

I tried then to download from this github repository on the "Downloads" section, it finally was showing in the "Plugins" tab, but it still wasn't working, and when trying to enable it, it shows this message.

Unable to load addon script from path: 'res://addons/pythonscript_repl/plugin.py'.

Captura de tela_2022-06-04_19-24-03

I assume that this is happening, because Godot is not recognizing python as a possible language, so he doesn't know what to do with a Python Script, but still, if anyone know how to solve this problem, please let me know.

My specs:

OS: Garuda Linux x86_64
Kernel: 5.15.35-1-lts 
CPU: Intel i7-7700 (8) @ 4 
GPU: NVIDIA GeForce GTX 1060 6gb Ram

Godot version: Godot Engine v3.4.4.stable.arch_linux

GustavoLR548 avatar Jun 04 '22 22:06 GustavoLR548

I know this is an old issue, but I decided to put something here for those who might stumble on this issue later. For me, the issue was I had Godot installed through Flatpak, and the container did not have the libcrypt.so.1 library installed. I solved it by copying my system's libcrypt.so.1 to a place the container could access (I used ~/.var/app/org.godotengine.Godot3/), and then running a one-time command to set the LD_PRELOAD:

flatpak --user override --env=LD_PRELOAD=~/.var/app/org.godotengine.Godot3/libcrypt.so.1 org.godotengine.Godot3

After that the plugin would load from the asset store with no issue. If it still doesn't work, it's useful to run the editor through the terminal (flatpak run org.godotengine.Godot3) to see if there are any errors in the log.

AutonomicPerfectionist avatar Sep 21 '23 14:09 AutonomicPerfectionist

Ah, I understand. I'll definitely give it a shot! Thank you!

GustavoLR548 avatar Sep 23 '23 16:09 GustavoLR548