Skip to content

Instantly share code, notes, and snippets.

@darkn3rd
Created September 27, 2016 23:38
Show Gist options
  • Save darkn3rd/3528b5fd01687406ae5953a297780a9a to your computer and use it in GitHub Desktop.
Save darkn3rd/3528b5fd01687406ae5953a297780a9a to your computer and use it in GitHub Desktop.
docker_py-1.10.3 install on Ubuntu 14
# pip install docker.py
Collecting docker.py
/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading docker_py-1.10.3-py2.py3-none-any.whl (48kB)
    100% |████████████████████████████████| 51kB 62kB/s 
Collecting requests<2.11,>=2.5.2 (from docker.py)
  Downloading requests-2.10.0-py2.py3-none-any.whl (506kB)
    100% |████████████████████████████████| 512kB 47kB/s 
Collecting backports.ssl-match-hostname>=3.5; python_version < "3.5" (from docker.py)
  Downloading backports.ssl_match_hostname-3.5.0.1.tar.gz
Collecting ipaddress>=1.0.16; python_version < "3.3" (from docker.py)
  Downloading ipaddress-1.0.17-py2-none-any.whl
Collecting websocket-client>=0.32.0 (from docker.py)
  Downloading websocket_client-0.37.0.tar.gz (194kB)
    100% |████████████████████████████████| 194kB 40kB/s 
Requirement already satisfied (use --upgrade to upgrade): six>=1.4.0 in /usr/lib/python2.7/dist-packages (from docker.py)
Collecting docker-pycreds>=0.2.1 (from docker.py)
  Downloading docker_pycreds-0.2.1-py2.py3-none-any.whl
Installing collected packages: requests, backports.ssl-match-hostname, ipaddress, websocket-client, docker-pycreds, docker.py
  Found existing installation: requests 2.2.1
    DEPRECATION: Uninstalling a distutils installed project (requests) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling requests-2.2.1:
      Successfully uninstalled requests-2.2.1
  Running setup.py install for backports.ssl-match-hostname ... done
  Running setup.py install for websocket-client ... done
Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/commands/install.py", line 317, in run
    prefix=options.prefix_path,
  File "/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/req/req_set.py", line 742, in install
    **kwargs
  File "/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/req/req_install.py", line 831, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/req/req_install.py", line 1032, in move_wheel_files
    isolated=self.isolated,
  File "/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/wheel.py", line 348, in move_wheel_files
    assert info_dir, "%s .dist-info directory not found" % req
AssertionError: docker.py .dist-info directory not found
/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment