When i create new django project in pycharm i have error enter image description here
Help me please
When i create new django project in pycharm i have error enter image description here
Help me please
To not make project in the venv/Scripts/
directory, add path while executing django-admin startproject [project-name-that-you-want] [project-directory-path]
this command.
This will let you have your django project in the directory you want, so that your project directory looks like the ones that you can find in tutorial videos.
As you can see, PyCharm has given you a "proposed solution", so use that.
Basically, PyCharm is trying to add, or you have tried to add, a --build-dir
argument to the pip command but pip doesn't know what --build-dir
means.
Open your Terminal/Command Prompt, cd
into your project directory and run pip install django
.
Open Pycharm settings and go to Interpreter settings File->Settings->Project->Project Interpreter
and click
the +
button on right side, then find django
and
install it.