No Module Named _socket

I ran into an issue running pip from within a virtualenv on Windows. The solution was to add a line to the end of Scripts\activate.bat: SET PYTHONPATH=%PYTHONPATH%;C:\Python27\DLLs; _________ C:\Users\Administrator\flask\BASEFLASKAPP>ls README.md flask requirements.txt C:\Users\Administrator\flask\BASEFLASKAPP>virtualenv . New python executable in .\Scripts\python.exe Installing setuptools, pip…done. C:\Users\Administrator\flask\BASEFLASKAPP>pip Usage: pip [options] … C:\Users\Administrator\flask\BASEFLASKAPP>Scripts\activate.bat (BASEFLASKAPP) C:\Users\Administrator\flask\BASEFLASKAPP>pip Traceback (most recent call last):[…]