Python - pip

From PeformIQ Upgrade
Jump to navigation Jump to search

Some Examples

$ pip install stormpath-config
Collecting stormpath-config
  Could not find a version that satisfies the requirement stormpath-config (from versions: )
No matching distribution found for stormpath-config
You are using pip version 8.0.2, however version 8.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

~
$ pip install --upgrade pip
Collecting pip
  Downloading pip-8.1.1-py2.py3-none-any.whl (1.2MB)
    100% |████████████████████████████████| 1.2MB 138kB/s
Installing collected packages: pip
  Found existing installation: pip 8.0.2
    Uninstalling pip-8.0.2:
      Successfully uninstalled pip-8.0.2
Successfully installed pip-8.1.1

~
$ pip install stormpath
Collecting stormpath
  Downloading stormpath-2.3.1-py2.py3-none-any.whl (62kB)
    100% |████████████████████████████████| 71kB 264kB/s
Collecting isodate>=0.5.4 (from stormpath)
  Downloading isodate-0.5.4.tar.gz
Collecting python-dateutil>=2.4.0 (from stormpath)
  Downloading python_dateutil-2.5.2-py2.py3-none-any.whl (201kB)
    100% |████████████████████████████████| 204kB 202kB/s
Collecting oauthlib>=0.6.3 (from stormpath)
  Downloading oauthlib-1.0.3.tar.gz (109kB)
    100% |████████████████████████████████| 112kB 201kB/s
Requirement already satisfied (use --upgrade to upgrade): requests>=2.4.3 in /usr/lib/python2.7/site-packages (from stormpath)
Collecting PyJWT>=1.0.0 (from stormpath)
  Downloading PyJWT-1.4.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): six>=1.6.1 in /usr/lib/python2.7/site-packages (from stormpath)
Collecting pydispatcher>=2.0.5 (from stormpath)
  Downloading PyDispatcher-2.0.5.tar.gz
Building wheels for collected packages: isodate, oauthlib, pydispatcher
  Running setup.py bdist_wheel for isodate ... done
  Stored in directory: /home/aasdev/.cache/pip/wheels/8a/b6/2c/9346712a1822e562d16c4d6a5ae242ebf45128a8cb2e7b4abe
  Running setup.py bdist_wheel for oauthlib ... done
  Stored in directory: /home/aasdev/.cache/pip/wheels/24/97/b6/b1f31b9c4b7710fe4e5a28e591349f68e43d6027aef320d056
  Running setup.py bdist_wheel for pydispatcher ... done
  Stored in directory: /home/aasdev/.cache/pip/wheels/83/19/da/6046a82324db0ed07ba3f480aa7a14a8c94f33de8a15ba6654
Successfully built isodate oauthlib pydispatcher
Installing collected packages: isodate, python-dateutil, oauthlib, PyJWT, pydispatcher, stormpath
  Found existing installation: isodate 0.5.1
    Uninstalling isodate-0.5.1:
      Successfully uninstalled isodate-0.5.1
Successfully installed PyJWT-1.4.0 isodate-0.5.4 oauthlib-1.0.3 pydispatcher-2.0.5 python-dateutil-2.5.2 stormpath-2.3.1

Installation of pip

To install both pip and pip2, the Python 2-specific versions of pip, into python under Cygwin:

$ python -m ensurepip

Once you have done this then:

$ pip install pip --upgrade
You are using pip version 6.1.1, however version 9.0.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting pip
  Downloading pip-9.0.0-py2.py3-none-any.whl (1.3MB)
    100% |████████████████████████████████| 1.3MB 449kB/s
Installing collected packages: pip
  Found existing installation: pip 6.1.1
    Uninstalling pip-6.1.1:
      Successfully uninstalled pip-6.1.1
Successfully installed pip-9.0.0