aws-deadline / deadline-cloud-for-cinema-4d

AWS Deadline Cloud for Cinema 4D
Apache License 2.0
6 stars 8 forks source link

C4d Submitter won't work #62

Open DeBontDigital opened 1 month ago

DeBontDigital commented 1 month ago

Expected Behaviour

I've followed the C4D submitter steps provided by andymanaws but it won't load the deadline c4d submitter.

Current Behaviour

  File "C:\Users\Remco\Documents\deadlinecloud\DeadlineCloud.pyp", line 13, in <module>
import deadline.cinema4d_submitter
ModuleNotFoundError:No module named 'deadline'

Reproduction Steps

I've installed it via these steps: https://github.com/aws-deadline/deadline-cloud-for-cinema-4d/pull/46/commits/65897e3a66b98ada36cbcc2b6c693ea2dfd8046b

Code Snippet

  File "C:\Users\Remco\Documents\deadlinecloud\DeadlineCloud.pyp", line 13, in <module>
import deadline.cinema4d_submitter
ModuleNotFoundError:No module named 'deadline'
yuanmich2 commented 2 weeks ago

At the very end of the instructions you linked, it says this:

To remedy these errors, you can switch to a later version of Cinema 4D which resolves the missing libraries, or you can manually add them specifically to the Cinema 4D python module, e.g.

& "C:\Program Files\Maxon Cinema 4D 2024\resource\modules\python\libs\win64\python.exe"-m ensurepip   
& "C:\Program Files\Maxon Cinema 4D 2024\resource\modules\python\libs\win64\python.exe"-m pip install MISSING_MODULE

These instructions were for setting up shiboken, but I ran into the missing "deadline" module error that you got and running this command fixed it for me. I believe the python modules I installed were deadline-cloud-for-cinema-4d and deadline[gui]