The lack of python.jar/python-ce.jar in IntelliJ Platform Plugin SDK cause a error of resovle plugin depends 'com.intellij.modules.python' Follow
Answered
Issue Description
When we create a new IntelliJ Platform Plugin SDK from PyCharm Pro/PyCharm Community root, the core lib python.jar/python-ce.jar will not be imported automatically in to it.
This jar provides module 'com.intellij.modules.python' and classes in package `com.jetbrains.python`, which are necessary for a PyCharm plugin.
Solutions
After the SDK created, add classpath manually in the Project Structure -> Platform Settings -> SDK -> Classpath
PyCharm Pro:
${PYCHARM}/plugins/python/lib/python.jar${PYCHARM}/plugins/python/lib/libthrift-0.13.0.jar
PyCharm Community:
${PYCHARM}/plugins/python-ce/lib/python-ce.jar${PYCHARM}/plugins/python/lib/libthrift-0.13.0.jar
IntelliJ IDEA Ultimate(After installing python plugin):
${IDEA}/plugins/python/lib/python.jar${IDEA}/plugins/python/lib/libthrift-0.13.0.jar
Others(After download *.zip file of python plugin and extract it):
${EXTRACTED}/lib/python.jar${EXTRACTED}/lib/libthrift-0.13.0.jar
Please sign in to leave a comment.
This is why the DevKit approach is not supported in favor of building plugins using the Gradle build system.
Thank you, That's is import for me