Monday, 4 May 2015

// // Leave a Comment

pip: How to fix error 'couldnt find a setup script in xxx'

I was trying to install pip recently using easy_install when windows powershell threw back the error: couldn't find a setup script in xxx where xxx is a directory name.






A simple fix for this is to navigate to the specified folder and delete or rename any previously existing file or folder named pip. The problem is from a previously failed pip installation hence an already existing pip folder and easy_install expects to find a setup script in the folder. Failure to do so results in the error above.
I hope this helps.

0 comments:

Post a Comment