Hi everyone,
im trying to upgrade our python module from R21(Python27) to the most recent cinema version 2023.1.0. BuildNumber (CL387487.470010)
I followed the instructions on the website, https://developers.maxon.net/docs/Cinema4DPythonSDK/html/manuals/misc/python3_migration.html
I copied the library-module to the following paths:
c:\Users\tov\AppData\Roaming\Maxon\Maxon Cinema 4D 2023_BCDB4759_x\python39\libs\
C:\Users\tov\AppData\Roaming\Maxon\Maxon Cinema 4D 2023_BCDB4759\python39\libs
C:\Users\tov\AppData\Roaming\Maxon\python\python39\libs
The library components are not found with the error message:
Traceback (most recent call last):
File "C:\Program Files\Maxon Cinema 4D 2023\plugins\vuframe-aura-commandline.pyp", line 31, in <module>
import VC4D.Recipe as Recipe
File "C:\Users\tov\AppData\Roaming\Maxon\Maxon Cinema 4D 2023_BCDB4759_x\python39\libs\VC4D\Recipe.py", line 11, in <module>
from Tools import LogWithTimestamp
ModuleNotFoundError: No module named 'Tools'
The base plugin which uses the librarys resides in
C:\Program Files\Maxon Cinema 4D 2023\plugins
My module contains the usual suspects required:
__init__.py
__main__.py
_version.py
What did i miss?
Is it required to add a special Path to the systemvariables?