Python2

From ElectroDragon Wiki

Python 2.7.18

Setuptools

Method


PIP

Method 1

Method 2

  • cd C:\Python27\Scripts
  • easy_install pip

Method 3 Install pip version 18

Upgrade

  • python2 -m pip install --upgrade pip
  • pip install --upgrade pip
  • Proxy first, Result: Successfully installed pip-20.3.4 wheel-0.36.2

Pip Intall commands libs

  • pip2 install typing requests pyopenssl ndg-httpsclient pyasn1 configparser wxPython

Result

  • Requirement already satisfied: typing in c:\python27\lib\site-packages (3.10.0.0)
  • Requirement already satisfied: requests in c:\python27\lib\site-packages (2.25.1)
  • Requirement already satisfied: pyopenssl in c:\python27\lib\site-packages (20.0.1)
  • Requirement already satisfied: ndg-httpsclient in c:\python27\lib\site-packages (0.5.1)
  • Requirement already satisfied: pyasn1 in c:\python27\lib\site-packages (0.4.8)
  • Requirement already satisfied: configparser in c:\python27\lib\site-packages (4.0.2)