I'm brand new to Python and have been trying to figure out how to set up a Python project with IDEA.
Here I've set my application name to main. In the second dialog I leave the Flask checkbox unchecked.
Here, django-demo is the folder where the virtual enivronment lives. Based on https://www.jetbrains.com/pycharm/help/creating-and-running-your-first-django-project.html I expect the result to be the equivalent of starting in my django-demo folder and running the commands
django-admin startproject demo
python manage.py startapp main
That should give me folders like this:
However, what I get is an error: "CommandError: 'demo' conflicts with the name of an existing Python module and cannot be used as a project name. Please try another name." and the process fails. The demo folder doesn't have anything beyond the .iml and the .idea folder. Since I can't see what commands IDEA is running and since I'm really new to Python I don't know if this is a bug or if I'm missing something.