Python interpreter in IntellJ
已回答
I have a python script in my source tree. I have the python plugin installed & added the path to the conda environment to use. The editor tells me I don't have a python interpreter configured & it doesn't parse the code correctly.
The code is in the java module, so I can't change the SDK for the module itself. [I have no need or wish to make a special module for the python code.]
Is there a way to tell IntelliJ to use the python SDK for the python code?
Thanks, Beth
请先登录再写评论。
You can add a Python framework to a Java module and specify the interpreter there:
That works, thanks :-)
When I create my first python script in a Java project I got the message, “No python interpreter configured for module”. It offered me a link that said something like, “configure python interpreter”. It brought me to the project structure window with no guidance that I needed to create a new module. Please change the error message to something like, “No Python module configured for project”. Then I would know that I need to create a python module.