@m_adam said in Pycharm - Invalid Python SDK:
Hi, @blastframe thanks for contact us.
So far we never encounter this issue and we are not able to reproduce it so few ideas to try:
Make sure you have permission to write in the Cinema 4D folder and subfolder.
Flush the cache, https://stackoverflow.com/a/45099651.
Send us your PyCharm log, see https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files
Cheers,
Maxime.
Hi @m_adam,
Thank you for the reply. I ran PyCharm as an Administrator and flushed the cache. I still received the same error. When I looked at the log, I found a lot of missing file errors, which made me think I had the python.exe (c4dpy.exe) file in the wrong location. When I moved the file to the same folder as the R20 .exe, PyCharm started working. I was confused about the file location because, while in the Install instructions from the C4D Python SDK Documentation has the c4dpy in the C4D folder, this image made it seem like it could exist in a separate folder:
c4dpy_pycharm_win2.png
I would have expected a file location similar to the default Windows location:
C:\Program Files\MAXON\Cinema 4D R20\python.exe
Thank you again. I have one follow-up question that I'll ask as a new topic.