JiachengXuGit / ChatGPTforNuke

OpenAI’s ChatGPT for Nuke
29 stars 3 forks source link

Nuke wouldn't start #1

Open igor-kurenkov opened 1 year ago

igor-kurenkov commented 1 year ago

Hi, I made all the installation steps, nuke wouldn’t start. The error message i get:

Traceback (most recent call last): File “C:/Users/Lee/.nuke/menu.py”, line 15, in from ChatGPTforNuke import ChatGPT File “C:/Users/Lee/.nuke\ChatGPTforNuke.py”, line 9, in import openai File “c:/users/lee/appdata/local/programs/python/python310/lib/site-packages\openai__init.py”, line 9, in from openai.api_resources import ( File “c:/users/lee/appdata/local/programs/python/python310/lib/site-packages\openai\api_resources__init.py”, line 7, in from openai.api_resources.embedding import Embedding # noqa: F401 File “c:/users/lee/appdata/local/programs/python/python310/lib/site-packages\openai\api_resources\embedding.py”, line 7, in from openai.datalib import numpy as np, assert_has_numpy File “c:/users/lee/appdata/local/programs/python/python310/lib/site-packages\openai\datalib.py”, line 17, in import numpy File “c:/users/lee/appdata/local/programs/python/python310/lib/site-packages\numpy\init.py”, line 125, in from numpy.config__ import show as show_config File “c:/users/lee/appdata/local/programs/python/python310/lib/site-packages\numpy\config__.py”, line 12, in os.add_dll_directory(extra_dll_dir) AttributeError: module ‘os’ has no attribute ‘add_dll_directory’

mateuszwojt commented 1 year ago

You're probably running an older version of Nuke that still uses Python 2.x interpreter. os.add_dll_directory() is Python 3-only method.

akoeste3dpu commented 1 year ago

Were you able to resolve this issue? I'm having the same error, but I'm running Nuke 13.2v7.

igor-kurenkov commented 1 year ago

I didn't. Just deleted ChatGPTforNuke