Jump to content

Can't load PySide2 in R23 ?


Recommended Posts


I would like to know if there is an issue with Pyside2 on R23, because I am having an issue :


PySide2/__init__.py: Unable to import shiboken2 from C:\Program Files\MAXON Cinema 4D R23\resource\modules\python\libs\python37, C:\Users\morganf\AppData\Roaming\MAXON\MAXON Cinema 4D R23_DBA5903C\python37, C:\Program Files\MAXON Cinema 4D R23\resource\modules\python\libs\python37.win64.framework\lib, C:\Program Files\MAXON Cinema 4D R23\resource\modules\python\libs\python37.win64.framework\dlls, C:\Program Files\MAXON Cinema 4D R23, C:\Users\morganf\AppData\Roaming\MAXON\python37\libs, C:\Users\morganf\AppData\Roaming\MAXON\MAXON Cinema 4D R23_DBA5903C\python37\libs, C:\Program Files\MAXON Cinema 4D R23\resource\modules\python\libs\python37.win64.framework\lib\site-packages
Traceback (most recent call last):
  File "scriptmanager", line 1, in <module>
  File "C:\Users\morganf\AppData\Roaming\MAXON\MAXON Cinema 4D R23_DBA5903C\python37\libs\PySide2\__init__.py", line 107, in <module>
  File "C:\Users\morganf\AppData\Roaming\MAXON\MAXON Cinema 4D R23_DBA5903C\python37\libs\PySide2\__init__.py", line 58, in _setupQtDirectories
    import shiboken2
  File "C:\Users\morganf\AppData\Roaming\MAXON\MAXON Cinema 4D R23_DBA5903C\python37\libs\shiboken2\__init__.py", line 27, in <module>
    from .shiboken2 import *
ImportError: DLL load failed: Le module spécifié est introuvable.


Even with the libs in the appdata python 3.7 folder.

I remember having this problem already when different versions of python are calling PySide, but in this case I'm just trying to do a "import PySide2" inside the script editor.


Any Idea ?


Link to post
  • Regular Member

Not a direct answer but more of a disclaimer.

PySide2 is not officially supported in Cinema4D.
You might be able to make it work but it will probably through personal endeavor.

There is no official documentation of it.
And there is no known effort of being it implemented in the near future, probably never.

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


We are dedicated Cinema 4D Community of friendly and passionate artists, hobbyists and developers. Feel free to join us to share your knowledge, your art and anything that might help Community to grow. We are providing guidance, free plugins and files, feedback, sponsorships and various discounts for our Contributors and much more. :cowboypistol:




  • Create New...

Copyright C4D Cafe © 2021 Powered by Invision Community