Skip to content

Instantly share code, notes, and snippets.

@mouseroot
Last active December 14, 2015 08:39
Show Gist options
  • Select an option

  • Save mouseroot/5059115 to your computer and use it in GitHub Desktop.

Select an option

Save mouseroot/5059115 to your computer and use it in GitHub Desktop.
Batch script to run PIP for python on windows Because for some odd reason i must CD into C:\Python27\Lib\site-packages\pip and run python __init__.py <args> in order to use PIP and yes it is in my path...don't know why it doesn't work but this batch file was created to fix it
@echo off
cls
echo Python PIP
echo ----------
cd C:\Python27\Lib\site-packages\pip\
python __init__.py %1
echo ----------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment