Automatically create virtual environment when opening Python project in IntelliJ IDEA
Is there a way to have IntelliJ IDEA (with the Python plugin already installed) automatically create virtual environments when a project is opened for the first time? I have a repository that contains both Java and Python code. The currently developer workflow is to:
1. Clone the project and open it in IntelliJ
2. Click through the menus manually to create a “Global SDK” that creates a virtual environment in the project
3. Add the newly created Global SDK as a “Module” to the project
This is cumbersome and error prone. IntelliJ will automatically recognize that I'm opening a Spring Boot project and configure things appropriately. It should do the same for Python. Currently it's not possible to share run/debug configurations with others as the Python modules are also included in here and do not get configured by default when opening the project for the first time.
Am I missing something or is this just not possible?
请先登录再写评论。