Frequently Asked Questions

Which version of Python do I need for Python in Cinema 4D?

A separate Python installation is not needed. Python is integrated into Cinema 4D and runs out of the box.

Where do I copy external Python libraries ?

External libraries can be copied to either a specific Cinema 4D preferences or a global preferences for all installed Cinema 4D versions.

For specific Cinema 4D preferences:

  • Windows: C:\Users\{username}\AppData\Roaming\MAXON\{cinemaversion}\python27\libs
  • macOS: /Users/{username}/Library/Preferences/MAXON/{cinemaversion}/python27/libs

For global preferences:

  • Windows: C:\Users\{username}\AppData\Roaming\MAXON\python27\libs
  • macOS: /Users/{username}/Library/Preferences/MAXON/python27/libs

Note

In pre-R20 versions, libraries had to be copied to {cinemaversion}/library/python/packages/{osx/win64}.

What does “Could not find required ‘__res__’.” mean ?

If this exception is written to the Python console, the resource of a plugin seems to be corrupt. Plugins need a special resource structure, like a res folder, a file c4d_symbols.h, etc. even if these files are empty or do not contain anything useful.

For further information check out the plugins examples and Directory Structure.