Problem summary The command "import nuke" fails to load modules when using Nuke's Python interpreter.
Customer reported version nuke.13.0v1
Customer reported platform windows10
Steps to reproduce 1) Add the following to an init.py file to be loaded by Nuke:
import nuke print(nuke.scriptSave)
2) In Terminal/Command Prompt, path to Nuke's installation directory. 2) Launch the Python application from the Nuke directory. (e.g ./python) 3) Run the command: import nuke observing any errors.
Expected behavior Nuke's Python interpreter should load the nuke modules.
Actual behavior The Python interpreter for Nuke is unable to load/find nuke modules and gives an error for: "AttributeError: module 'nuke' has no attribute 'scriptSave'" where "scriptSave" can be any module Nuke would traditionally find in other versions.