August 28, 2019 at 6:22 am #252360benson poonParticipant
I am a beginner of python coding.
I would like to use python gspread in Nuke (with oauth2client as crediential).
What I did:
I copied the 4 folders:
Then, in Nuke script editor, I try:
The result is no error, I assume I successfully imported.
when I try:
Fail and the feedback is:
Result: Traceback (most recent call last):
File “”, line 1, in
File “C:\Program Files\Nuke11.3v3\pythonextensions\site-packages\gspread_init_.py”, line 16, in
from .client import Client
File “C:\Program Files\Nuke11.3v3\pythonextensions\site-packages\gspread\client.py”, line 12, in
ImportError: No module named requests
Is there anyone know-how and share with me how to do so? And what I missed?
(The workaround for now is, complied the script that use gspread to an .exe file. Then use .py in nuke to os.system() to call the .exe and with a lot of sys.argu coding. I know it is a stupid way, but it at least working.)
- You must be logged in to reply to this topic.