How to initialize a new Python SDK Follow
Answered
Hello,
I'm in the process of creating a IDEA plugin that uses a Gradle plugin that allows for Conda environments. As part of this I have the paths to the python executable inside of the conda environment that was resolved by my Gradle plugin. With that information I need to initialize a Python SDK from scratch and associate with the project that is being imported. How do I go about initializing a new Python SDK based on the path to the executable inside the conda environment? Thank you very much!
-Jason Morefield
Please sign in to leave a comment.
You could take a look at PyAddExistingCondaEnvPanel, it initializes a new Conda SDK from an existing Python executable inside a Conda environment, you may find the API used in this class applicable for your case. Feel free to ask more questions.
Thank you very much! I'll take a look at that and see if I can get it to work :)
-Jason Morefield