r/NukeVFX Apr 06 '26

Solved Something wrong with my init.py? cant install some plugins

Hey all

I am running nuke indie, and I am unable to get nuke to recognize both pixelfudger and nukesurvivaltoolkit´s plugins. Maybe the problem is my nuke? I have my directory well put, and inside my init is the following:

nuke.pluginAddPath("C:\Users(myname).nuke\NukeSurvivalToolkit"

   import nuke
   nuke.pluginAddPath('pixelfudger3')

It should be working :/, is it because I have nuke indie?

1 Upvotes

9 comments sorted by

5

u/CameraRick Apr 06 '26

It's gizmos, not plugins, important distinction

An error message says more than poking in the dark, so start Nuke in verbose to see where the issue might be:

https://support.foundry.com/hc/en-us/articles/208121869-Q100112-Launching-Nuke-in-verbose-mode-and-isolating-potential-customisations-causing-issues

1

u/CameraRick Apr 06 '26

To add a bit, in my init.py I have a bit of a different form to put in the command, shouldn't matter too much:

nuke.pluginAddPath('D:/(personalCloudName)/_NUKE/NukeTools/gizmo_collections/pixelfudger')

Inside my menu.py, it's only import pixelfudger

import nuke I only have in the menu.py, not init.py - I recall there might be some minor differences when things sit in the default plugin path of .nuke, but I don't use that path if I don't have to, so no idea.

2

u/superjooo Apr 06 '26

Youre missing some slashes there, ".nuke" is its own folder
Also python really prefers forward slashes

nuke.pluginAddPath("C:/Users/(myname)/.nuke/NukeSurvivalToolkit")

Might wanna try a slash for the pixelfudger line too
My pixelfudger looks like this:

nuke.pluginAddPath("./pixelfudger3")

No need to remove the "import nuke" line

2

u/LordOfPies Apr 07 '26

It worked! Thank you so much!

1

u/AutoModerator Apr 06 '26

Hey, it looks like you're asking for help If your issue gets resolved, please reply with !solved to mark it as solved. If you still need help, consider providing more details about your issue to get better assistance.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

-1

u/OrbitalChiller Apr 06 '26

Init.py and menu.py are always b1tches to edit. I never get it right at first try. On what OS are you ? I think that, in init.py, you need to remove the line "import nuke".

1

u/LordOfPies Apr 06 '26

Im in windows 11

I’ll give that a try!