Pip,Easy_Install not working due to an error thrown by the subprocess module?

194 Views Asked by At

Suddenly pip and easy_install have stopped working.

I guess this is due to some exception thrown by the subprocess module.How should i fix pip?

Even easy_install throws the same exception.
My pip,easy_install and IDLE have been broken.

These errors are shown
Pip: Error thrown by Pip

Easy_install:
Error thrown by easy install

Note:I have tried using get-pip.py to reinstall pip,it throws the same exception

Pip exception text:Pip exception paste_bin
Easy install exception text: Easy_install paste_bin
The commands executed were:

pip install --upgrade pip    

And

easy_install
1

There are 1 best solutions below

0
Anonymous On BEST ANSWER

I've fixed it. I copied my conda subprocess file and replaced my subprocess file with it.(I have 2 seperate installations)

Step by step details:

1.Backup you current subprocess file(to rollback if it does not work)
2.Open your conda Lib folder
3.Find the subprocess file (subprocess.py)
4.Replace it with your conda subprocess file