-3

When i create new django project in pycharm i have error enter image description here

Help me please

Unutu124
  • 9
  • 3

3 Answers3

1

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.

Brad Lee
  • 11
  • 1
0

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.

WhatTheClown
  • 464
  • 1
  • 7
  • 24
0

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.

Ali Aref
  • 1,893
  • 12
  • 31