-
What I intended to do:
I intend to write C4D scripts in VS Code. -
What I did to achieve:
I was following the link edited by m_adam:
https://developers.maxon.net/docs/Cinema4DPythonSDK/html/manuals/introduction/autocompletion_dummy_package.html
done with Installation 1 and 2, and already put c4d libs shortcut into "site-packages" folder.
3.What happened and needed to be solved:
I tried python3.8.5 & 3.7.9 both 64-bits but none of them worked plus return message below:
--------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
e:\VS_Code_Prjs\C4Dtraining\oops in
----> 1 import c4d
2 from c4d import utils
~\AppData\Local\Programs\Python\Python38\lib\site-packages\c4d\__init__.py in <module>
27 from .symbols import *
28
---> 29 from .functions import *
30
31 from ._internal_doc_utils import MAXON_DOC_INTERNAL_ADDITIONAL_INFO
ModuleNotFoundError: No module named 'c4d.functions'
So in my opinion, it first run the init.py then find no existence of modules name "c4d.functions" or "c4d.symbols",
but in Cinema 4D Console it never asks me about c4d.functions or c4d.symbols.
And this is really hard for me to solve.
How to solve these and make VS Code work well with c4d?