rough-minister-58256
01/03/2017, 11:16 PMrough-minister-58256
01/03/2017, 11:16 PM>>> [x for x in sys.path if 'Extras' in x]
[]
rough-minister-58256
01/03/2017, 11:16 PMrough-minister-58256
01/03/2017, 11:16 PMmicroscopic-intern-4465
01/03/2017, 11:17 PMmicroscopic-intern-4465
01/03/2017, 11:18 PMmicroscopic-intern-4465
01/03/2017, 11:19 PMrough-minister-58256
01/03/2017, 11:23 PM[illuminati source (kwlzn/dep_clean)]$ /usr/bin/python ~/bin/pex27 six
Python 2.7.10 (default, Jul 30 2016, 19:40:32)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from six import wraps
Traceback (most recent call last):
File "<console>", line 1, in <module>
ImportError: cannot import name wraps
>>> ^D
[illuminati source (kwlzn/dep_clean)]$ /usr/bin/python ~/bin/pex27 six
Python 2.7.10 (default, Jul 30 2016, 19:40:32)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import sys
>>> def scrub_sys_path():
... sys.path = [p for p in sys.path if 'Extras/lib/python' not in p]
...
>>> scrub_sys_path()
>>> from six import wraps
>>> import six; six.__file__
'/private/var/folders/3t/xkwqrkld4xxgklk2s4n41jb80000gn/T/tmpEXfjuN/.deps/six-1.10.0-py2.py3-none-any.whl/six.py'
>>>
microscopic-intern-4465
01/03/2017, 11:29 PMrough-minister-58256
01/03/2017, 11:30 PMrough-minister-58256
01/03/2017, 11:30 PMmicroscopic-intern-4465
01/03/2017, 11:32 PMrough-minister-58256
01/03/2017, 11:34 PMhappy-kitchen-89482
01/03/2017, 11:35 PMhappy-kitchen-89482
01/03/2017, 11:35 PMwitty-crayon-22786
01/03/2017, 11:36 PMhappy-kitchen-89482
01/03/2017, 11:36 PMrough-minister-58256
01/03/2017, 11:36 PMhappy-kitchen-89482
01/03/2017, 11:37 PMhappy-kitchen-89482
01/03/2017, 11:37 PMrough-minister-58256
01/03/2017, 11:37 PMhappy-kitchen-89482
01/03/2017, 11:42 PMhappy-kitchen-89482
01/03/2017, 11:42 PMrough-minister-58256
01/03/2017, 11:45 PMrough-minister-58256
01/03/2017, 11:45 PMrough-minister-58256
01/03/2017, 11:45 PMrough-minister-58256
01/03/2017, 11:46 PMwitty-crayon-22786
01/03/2017, 11:46 PMrough-minister-58256
01/03/2017, 11:46 PMrough-minister-58256
01/03/2017, 11:47 PM