menu

Questions & Answers

Pip: Fatal error in launcher: Unable to create process using

I developed a complete Django project on my system. When I try to run on another system, after activating my virtual environment "data". It shows me the path of my system (where it's developed).

(data) PS D:\Hafiz\Data_Collection> pip    
Fatal error in launcher: Unable to create process using
'"D:\Masters_FIT\4th\Webdatabese\Project\Data_Collection\Data\Scripts\python.exe" 
"D:\Hafiz\Data_Collection\data\Scripts\pip.exe" ': The system cannot find the file specified.

On other systems python, pip, and Django are installed with their latest versions and paths are also added.

I tried a new project there and it's working properly.

Comments:
2023-01-21 00:55:11
What do you mean when you say "paths are also added"? You should not add absolute paths.
2023-01-21 00:55:11
I'm saying about Environment Variables...
2023-01-21 00:55:11
It works fine if you type python -m pip ?
2023-01-21 00:55:11
after activating my virtual environment, it shows my upper given error...
Answers(2) :

Check your system enviropment PATH

  1. uninstall python from your machine.
  2. download python installer.
  3. while intalling python click on customize insatall and tick all checkbox and then type command ->pip it will 100% work i also very frusteted with this error follow the step