Page MenuHomePhabricator
Paste P6977

Notes on installing Python 2.7.2 on appveyor (T191188)
ActivePublic

Authored by Dalba on Apr 11 2018, 7:02 AM.
- `python get-pip.py` fails because of pyopenssl
- `[Error 5] Access is denied` while installing downloaded pip using default pip (even with --no-clean)
- u'C:\\Python272/python.exe', u'-m', u'get-pip', u'-U' requires setuptools.
- u'C:\\Python272/python.exe', u'-m', u'get-pip', u'-U' with bootrapped setuptools fails upgrading setuptools with WindowsError: [Error 2] The system cannot find the file specified: 'C:\\Python272\\lib\\site-packages\\setuptools-33.1.1-py2.7.egg'
- removing setuptools helps with the installation but fails to install unittest2==0.8.0 (InsecurePlatformWarning)
- extending downloaded packages with requirement fails with "WindowsError: [Error 2] The system cannot find the file specified: 'C:\\Python272\\lib\\site-packages\\setuptools-33.1.1-py2.7.egg'" (requirement files include setuptools)
- filtering setuptools from download_packages also fails on finding setuptools egg. adding --no-deps helps to pass that but then it fails unittest2==0.8.0 (InsecurePlatformWarning)
- Installing 2.7.7 still requires pip-get and bootstrapping setuptools, but not install_pyopenssl