How to import non-included python libraries?
-
On 29/07/2015 at 03:55, xxxxxxxx wrote:
I would like to use some python libraries that are not a part of c4d.
How should I place and access those libraries? -
On 29/07/2015 at 07:12, xxxxxxxx wrote:
See https://developers.maxon.net/forum/topic/8229/10727_best-practice-for-imports.
Pinned in the Python Development forum btw. -
On 29/07/2015 at 09:39, xxxxxxxx wrote:
Thank you for the reply,
This is not for plugin, this is for a python generator. Does it make a difference?
I thought the process would be easier, I read a bit about the [user]\AppData\Roaming\MAXON[c4d Version]\library\python\packages\win64 folder, I thought it would be dropping libraries in and just let it work. -
On 30/07/2015 at 04:28, xxxxxxxx wrote:
You can use devtools to import Python modules from a directory named "python" near your
scene file.Apart from that you can indeed copy the packages into the folder you named.