Skip to content

Instantly share code, notes, and snippets.

@ArcTanSusan
Last active August 29, 2015 14:25
Show Gist options
  • Save ArcTanSusan/1fb4ccfb470b3a621684 to your computer and use it in GitHub Desktop.
Save ArcTanSusan/1fb4ccfb470b3a621684 to your computer and use it in GitHub Desktop.
pip & ubuntu
(teacup)vagrant@vagrant-ubuntu-trusty-64:~/piston/teacup$ mkvirtualenv teacup2
New python executable in teacup2/bin/python
Installing setuptools, pip...done.
(teacup2)vagrant@vagrant-ubuntu-trusty-64:~/piston/teacup$ curl -O https://bootstrap.pypa.io/get-pip.py ; python get-pip.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1380k 100 1380k 0 0 503k 0 0:00:02 0:00:02 --:--:-- 502ksi --ver
on/tmp/tmp9NS_nO/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
Collecting pip
Using cached pip-7.1.0-py2.py3-none-any.whl
Collecting wheel
Using cached wheel-0.24.0-py2.py3-none-any.whl
Installing collected packages: pip, wheel
Found existing installation: pip 1.5.4
Uninstalling pip-1.5.4:
Successfully uninstalled pip-1.5.4
Successfully installed pip-7.1.0 wheel-0.24.0
(teacup2)vagrant@vagrant-ubuntu-trusty-64:~/piston/teacup$ pip --version
pip 7.1.0 from /home/vagrant/.virtualenvs/teacup2/local/lib/python2.7/site-packages (python 2.7)
(teacup2)vagrant@vagrant-ubuntu-trusty-64:~/piston/teacup$ ./run-functional-tests.sh 33
Using default settings based on running under a human user account.
Cleaning up previous artifacts directory /tmp/teacup-artifacts-user-vagrant
Setting up test virtualenv...
New python executable in /var/tmp/teacup-venv-user-vagrant/bin/python
Installing setuptools, pip...done.
Traceback (most recent call last):
File "/var/tmp/teacup-venv-user-vagrant/bin/pip", line 7, in <module>
from pip import main
File "/var/tmp/teacup-venv-user-vagrant/local/lib/python2.7/site-packages/pip/__init__.py", line 11, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/var/tmp/teacup-venv-user-vagrant/local/lib/python2.7/site-packages/pip/vcs/mercurial.py", line 9, in <module>
from pip.download import path_to_url
File "/var/tmp/teacup-venv-user-vagrant/local/lib/python2.7/site-packages/pip/download.py", line 22, in <module>
from pip._vendor import requests, six
File "/var/tmp/teacup-venv-user-vagrant/local/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py", line 58, in <module>
from . import utils
File "/var/tmp/teacup-venv-user-vagrant/local/lib/python2.7/site-packages/pip/_vendor/requests/utils.py", line 25, in <module>
from .compat import parse_http_list as _parse_list_header
File "/var/tmp/teacup-venv-user-vagrant/local/lib/python2.7/site-packages/pip/_vendor/requests/compat.py", line 7, in <module>
from .packages import chardet
File "/var/tmp/teacup-venv-user-vagrant/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/__init__.py", line 3, in <module>
from . import urllib3
File "/var/tmp/teacup-venv-user-vagrant/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/__init__.py", line 16, in <module>
from .connectionpool import (
File "/var/tmp/teacup-venv-user-vagrant/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 33, in <module>
from .connection import (
File "/var/tmp/teacup-venv-user-vagrant/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/connection.py", line 41, in <module>
from .util import (
File "/var/tmp/teacup-venv-user-vagrant/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/__init__.py", line 5, in <module>
from .ssl_ import (
File "/var/tmp/teacup-venv-user-vagrant/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py", line 4, in <module>
from ..exceptions import SSLError, InsecurePlatformWarning
ImportError: cannot import name InsecurePlatformWarning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment