Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572476 - dev-python/pip-8.0.0 does not install with python 3
Summary: dev-python/pip-8.0.0 does not install with python 3
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-20 20:13 UTC by Albert W. Hopkins
Modified: 2016-02-04 18:56 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2016-01-20 20:13:15 UTC
While attempting to install pip-8.0.0 I get:

[...]
Copying /var/tmp/portage/dev-python/pip-8.0.0/work/pip-8.0.0-python3_5/pip.egg-info to /var/tmp/portage/dev-python/pip-8.0.0/image//_python3.5/usr/lib64/python3.5/site-packages/pip-8.0.0-py3.5.egg-info
running install_scripts
Installing pip script to /var/tmp/portage/dev-python/pip-8.0.0/image//_python3.5/usr/lib/python-exec/python3.5
Installing pip3 script to /var/tmp/portage/dev-python/pip-8.0.0/image//_python3.5/usr/lib/python-exec/python3.5
Installing pip3.5 script to /var/tmp/portage/dev-python/pip-8.0.0/image//_python3.5/usr/lib/python-exec/python3.5
 * python3_5: running distutils-r1_run_phase python_install_all
/usr/bin/python3.5: Error while finding spec for 'pip.__main__' (<class 'ImportError'>: No module named 'dummy_thread'); 'pip' is a package and cannot be directly executed
 * ERROR: dev-python/pip-8.0.0::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_install
 *   environment, line 3755:  Called distutils-r1_src_install
 *   environment, line 1058:  Called _distutils-r1_run_common_phase 'python_install_all'
 *   environment, line  380:  Called _distutils-r1_run_foreach_impl 'python_install_all'
 *   environment, line  394:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_install_all'
 *   environment, line 3273:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install_all'
 *   environment, line 2376:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install_all'
 *   environment, line 2374:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_install_all'
 *   environment, line  670:  Called distutils-r1_run_phase 'python_install_all'
 *   environment, line 1023:  Called python_install_all
 *   environment, line 3439:  Called die
 * The specific snippet of code:
 *       "${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-python/pip-8.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pip-8.0.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pip-8.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pip-8.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pip-8.0.0/work/pip-8.0.0'
 * S: '/var/tmp/portage/dev-python/pip-8.0.0/work/pip-8.0.0'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (dev-python/pip-8.0.0:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-python/pip-8.0.0/temp/build.log'
 * 
[...]

It doesn't really print a proper Python traceback.  But I think I can reproduce the same situation via the following:

# cd /var/tmp/portage/dev-python/pip-8.0.0/work/pip-8.0.0-python3_5/lib
# python3.5
Python 3.5.1 (default, Jan  4 2016, 20:55:24) 
[GCC 5.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pip import __main__
Traceback (most recent call last):
  File "/usr/lib64/python3.5/site-packages/requests/packages/urllib3/packages/ordered_dict.py", line 6, in <module>
    from thread import get_ident as _get_ident
ImportError: No module named 'thread'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/var/tmp/portage/dev-python/pip-8.0.0/work/pip-8.0.0-python3_5/lib/pip/__init__.py", line 12, in <module>
    from pip.exceptions import InstallationError, CommandError, PipError
  File "/var/tmp/portage/dev-python/pip-8.0.0/work/pip-8.0.0-python3_5/lib/pip/exceptions.py", line 6, in <module>
    from pip._vendor.six import iteritems
  File "/var/tmp/portage/dev-python/pip-8.0.0/work/pip-8.0.0-python3_5/lib/pip/_vendor/__init__.py", line 82, in <module>
    vendored("requests.packages.urllib3.packages.ordered_dict")
  File "/var/tmp/portage/dev-python/pip-8.0.0/work/pip-8.0.0-python3_5/lib/pip/_vendor/__init__.py", line 32, in vendored
    __import__(modulename, globals(), locals(), level=0)
  File "/usr/lib64/python3.5/site-packages/requests/packages/urllib3/packages/ordered_dict.py", line 8, in <module>
    from dummy_thread import get_ident as _get_ident
ImportError: No module named 'dummy_thread'
>>> 

In Python 2.7, the "thead" module appears to be a built-in:

# python2.7
Python 2.7.11 (default, Jan  4 2016, 20:58:57) 
[GCC 5.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import thread
>>> thread
<module 'thread' (built-in)>


In Python 3.5 "thread" doesn't appear to exist.

# python3.5
Python 3.5.1 (default, Jan  4 2016, 20:55:24) 
[GCC 5.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import thread
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'thread'


In addition, "dummy_thread" in Python 2 was replaced with "_dummy_thread" in Python 3.

So it looks like the problem is really somewhere in requests's ordered_dict module, but that shouldn't even need to be imported in Python 3.5 as most recent versions of Python (even 2.7) come with OrderedDict.

In pip-7.1.2, the pip_vender.__init__ module only tries to import "requests" at the root level if DEBUNDLED=True:

# diff -u /usr/lib/python3.5/site-packages/pip/_vendor/__init__.py /var/tmp/portage/dev-python/pip-8.0.0/work/pip-8.0.0-python3_5/lib/pip/_vendor/__init__.py
--- /usr/lib/python3.5/site-packages/pip/_vendor/__init__.py    2016-01-20 15:04:51.000000000 -0500
+++ /var/tmp/portage/dev-python/pip-8.0.0/work/pip-8.0.0-python3_5/lib/pip/_vendor/__init__.py  2016-01-20 15:06:46.000000000 -0500
@@ -61,3 +61,37 @@
     vendored("progress")
     vendored("retrying")
     vendored("requests")
+    vendored("requests.packages")
+    vendored("requests.packages.urllib3")
+    vendored("requests.packages.urllib3._collections")
+    vendored("requests.packages.urllib3.connection")
+    vendored("requests.packages.urllib3.connectionpool")
+    vendored("requests.packages.urllib3.contrib")
+    try:
+        vendored("requests.packages.urllib3.contrib.ntlmpool")
+    except ImportError:
+        pass
+    try:
+        vendored("requests.packages.urllib3.contrib.pyopenssl")
+    except ImportError:
+        pass
+    vendored("requests.packages.urllib3.exceptions")
+    vendored("requests.packages.urllib3.fields")
+    vendored("requests.packages.urllib3.filepost")
+    vendored("requests.packages.urllib3.packages")
+    vendored("requests.packages.urllib3.packages.ordered_dict")
+    vendored("requests.packages.urllib3.packages.six")
+    vendored("requests.packages.urllib3.packages.ssl_match_hostname")
+    vendored("requests.packages.urllib3.packages.ssl_match_hostname."
+             "_implementation")
+    vendored("requests.packages.urllib3.poolmanager")
+    vendored("requests.packages.urllib3.request")
+    vendored("requests.packages.urllib3.response")
+    vendored("requests.packages.urllib3.util")
+    vendored("requests.packages.urllib3.util.connection")
+    vendored("requests.packages.urllib3.util.request")
+    vendored("requests.packages.urllib3.util.response")
+    vendored("requests.packages.urllib3.util.retry")
+    vendored("requests.packages.urllib3.util.ssl_")
+    vendored("requests.packages.urllib3.util.timeout")
+    vendored("requests.packages.urllib3.util.url")
Comment 1 Christohper Harrington 2016-01-21 01:22:06 UTC
Confirming; I'm seeing this too. Though with Python 3.4.

Portage 2.2.27 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-5.3.0, glibc-2.22-r1, 4.4.0-gentoo-a x86_64)
=================================================================
System uname: Linux-4.4.0-gentoo-a-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.2
KiB Mem:     7909908 total,   3233176 free
KiB Swap:   10485756 total,  10400248 free
Timestamp of repository gentoo: Thu, 21 Jan 2016 00:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.4.2::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.3::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --complete-graph --jobs=5"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr clang cli consolekit corefonts cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gtk iconv icu ipv6 jpeg lcms ldap libnotify mad minizip mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg opengl openmp opus pam pango pcre pcre16 pdf png policykit ppds qt3support qt4 readline sdl seccomp session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v4l v4l2 vorbis vpx wayland wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="32 64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

running install_scripts
Installing pip script to /var/tmp/portage/dev-python/pip-8.0.0/image//_python3.4/usr/lib/python-exec/python3.4
Installing pip3.4 script to /var/tmp/portage/dev-python/pip-8.0.0/image//_python3.4/usr/lib/python-exec/python3.4
Installing pip3 script to /var/tmp/portage/dev-python/pip-8.0.0/image//_python3.4/usr/lib/python-exec/python3.4
 * python3_4: running distutils-r1_run_phase python_install_all
/usr/bin/python3.4: Error while finding spec for 'pip.__main__' (<class 'ImportError'>: No module named 'dummy_thread'); 'pip' is a package and cannot be directly executed
 * ERROR: dev-python/pip-8.0.0::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_install
 *   environment, line 3688:  Called distutils-r1_src_install
 *   environment, line  991:  Called _distutils-r1_run_common_phase 'python_install_all'
 *   environment, line  347:  Called _distutils-r1_run_foreach_impl 'python_install_all'
 *   environment, line  361:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_install_all'
 *   environment, line 3206:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install_all'
 *   environment, line 2309:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install_all'
 *   environment, line 2307:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_install_all'
 *   environment, line  637:  Called distutils-r1_run_phase 'python_install_all'
 *   environment, line  956:  Called python_install_all
 *   environment, line 3372:  Called die
 * The specific snippet of code:
 *       "${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-python/pip-8.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pip-8.0.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pip-8.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pip-8.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pip-8.0.0/work/pip-8.0.0'
 * S: '/var/tmp/portage/dev-python/pip-8.0.0/work/pip-8.0.0'
Comment 2 r1k0 2016-01-21 08:35:06 UTC
Same issue here with python-3.4
Comment 3 Ivan Iraci 2016-01-21 10:44:05 UTC
Same here with python 3.5.
Comment 4 Frédéric Barthelery 2016-01-21 12:27:34 UTC
Same issue here with python 3.4
Comment 5 Elizabeth Myers 2016-01-21 23:02:30 UTC
dev-python/pip-8.0.0-r1 gives me the same error.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2016-01-22 07:24:06 UTC
Please try pip-8.0.0-r1
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2016-01-22 08:00:02 UTC
(In reply to Justin Lecher from comment #6)
> Please try pip-8.0.0-r1

Please try 8.0.2. It hsould pull in latest requests and recent urllib3. That should fix it
Comment 8 Albert W. Hopkins 2016-01-22 12:20:49 UTC
(In reply to Justin Lecher from comment #7)
> (In reply to Justin Lecher from comment #6)
> > Please try pip-8.0.0-r1
> 
> Please try 8.0.2. It hsould pull in latest requests and recent urllib3. That
> should fix it

The latest couple of releases (8.0.0-r1, 8.0.2) have installed fine for me with Python 3.5.
Comment 9 Pavel Volkov 2016-01-22 12:34:50 UTC
No luck installing here:

Installing pip3.5 script to /var/tmp/portage/dev-python/pip-8.0.2/image//_python3.5/usr/lib/python-exec/python3.5
 * python3_5: running distutils-r1_run_phase python_install_all
/usr/bin/python3.5: Error while finding spec for 'pip.__main__' (<class 'ImportError'>: No module named 'requests.packages.urllib3.exceptions'); 'pip' is a package and cannot be directly executed
 * ERROR: dev-python/pip-8.0.2::gentoo failed (install phase):
 *   (no error message)
Comment 10 Christohper Harrington 2016-01-22 15:31:08 UTC
(In reply to Justin Lecher from comment #7)
> (In reply to Justin Lecher from comment #6)
> > Please try pip-8.0.0-r1
> 
> Please try 8.0.2. It hsould pull in latest requests and recent urllib3. That
> should fix it


These are the packages that would be merged, in order:

Calculating dependencies  .... done!
[ebuild  N     ] dev-python/PySocks-1.5.6  PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_3 -python3_5" 
[ebuild  N     ] dev-python/backports-1.0  PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_3" 
[ebuild     UD ] dev-python/setuptools-19.2 [19.4]
[ebuild  N     ] dev-python/backports-ssl-match-hostname-3.5.0.1  PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_3" 
[ebuild  N     ] dev-python/urllib3-1.14  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_3 -python3_5" 
[ebuild     U  ] dev-python/requests-2.9.1-r2 [2.9.1]
[ebuild     U  ] dev-python/pip-8.0.2 [7.1.2]

Install succeeded.
Comment 11 Christohper Harrington 2016-01-22 15:43:35 UTC
(In reply to Christohper Harrington from comment #10)
> (In reply to Justin Lecher from comment #7)
> > (In reply to Justin Lecher from comment #6)
> > > Please try pip-8.0.0-r1
> > 
> > Please try 8.0.2. It hsould pull in latest requests and recent urllib3. That
> > should fix it
> 
> [ebuild     UD ] dev-python/setuptools-19.2 [19.4]
> 

Possibly unrelated, but I am now getting a dependency conflict warning...

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-python/setuptools:0

  (dev-python/setuptools-19.4:0/0::gentoo, ebuild scheduled for merge) conflicts with
    <dev-python/setuptools-19.4[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_pypy(-)] required by (dev-python/pip-8.0.2:0/0::gentoo, installed)
    ^                      ^^^^                                                                                                                                                                                                                                   

Could probably be a separate bug.
Comment 12 Pavel Volkov 2016-01-23 10:11:48 UTC
A related bug for me:
https://bugs.gentoo.org/show_bug.cgi?id=572620

After applying patch from there for dev-python/requests I get a different error when installing pip:

Installing pip3.5 script to /var/tmp/portage/dev-python/pip-8.0.2/image//_python3.5/usr/lib/python-exec/python3.5
 * python3_5: running distutils-r1_run_phase python_install_all
/usr/bin/python3.5: Error while finding spec for 'pip.__main__' (<class 'ImportError'>: No module named 'requests.packages.urllib3._collections'); 'pip' is a package and cannot be directly executed
Comment 13 Elizabeth Myers 2016-02-04 18:53:03 UTC
(In reply to Justin Lecher from comment #6)
> Please try pip-8.0.0-r1

Same problem all the way up to 8.0.2-r1.
Comment 14 Elizabeth Myers 2016-02-04 18:55:03 UTC
The error I have gotten all along (and am still getting):

--->8 snip 8<---
* python3_5: running distutils-r1_run_phase python_install_all
/usr/bin/python3.5: Error while finding spec for 'pip.__main__' (<class 'ImportError'>: No module named 'requests.packages.urllib3.exceptions'); 'pip' is a package and cannot be directly executed
 * ERROR: dev-python/pip-8.0.2-r1::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_install
 *   environment, line 3736:  Called distutils-r1_src_install
 *   environment, line 1034:  Called _distutils-r1_run_common_phase 'python_install_all'
 *   environment, line  390:  Called _distutils-r1_run_foreach_impl 'python_install_all'
 *   environment, line  404:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_install_all'
 *   environment, line 3254:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install_all'
 *   environment, line 2357:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install_all'
 *   environment, line 2355:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_install_all'
 *   environment, line  680:  Called distutils-r1_run_phase 'python_install_all'
 *   environment, line  999:  Called python_install_all
 *   environment, line 3420:  Called die
 * The specific snippet of code:
 *       "${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-python/pip-8.0.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pip-8.0.2-r1::gentoo'`.
 * The complete build log is located at '/tmp/portage/dev-python/pip-8.0.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-python/pip-8.0.2-r1/temp/environment'.
 * Working directory: '/tmp/portage/dev-python/pip-8.0.2-r1/work/pip-8.0.2'
 * S: '/tmp/portage/dev-python/pip-8.0.2-r1/work/pip-8.0.2'