Home > database >  I can't install django through pip
I can't install django through pip

Time:03-13

Im trying to install django on an venv using python (3.9) on vsc. I already had a hard time activating the venv and now i can't seem to be able to install django.

when i use pip install django this shows up : (env) PS C:\CODE_PROJECTS\django_test> pip install Django Fatal error in launcher: Unable to create process using '"C:\Users\camil\CODE_PROJECTS\django_test\env\Scripts\python.exe" "C:\CODE_PROJECTS\django_test\env\Scripts\pip3.9.exe" install Django': O sistema nÒo pode encontrar o arquivo especificado.

I have tried pip3, pip3.9 also and same result What should I do?

CodePudding user response:

you can try pipwin django! maybe that'd work

CodePudding user response:

First try to update the pip

 python -m pip install -U pip

Open a new env with

python -m venv Env

Activate the Env in windows - cmd

Env\Scripts\activate

Install Django

python -m pip install django
  • Related