Runtime error when using iterm2 or iterm3 with brew installed python
Thanks for filing an issue! Please answer the questions below so I can help you.
-
iTerm2 version: Build3.0.0, Build2.1.4
-
OS version:
-
Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window)com.googlecode.iterm2.plist
-
Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog debuglog.txt
-
Are you reporting a performance issue? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
Detailed steps to reproduce the problem:
- Whenever I open iterm2 2.Whenever I run a python related command, like python, mkvirtualenv, pip, etc.
What happened: Error message: Error processing line 1 of /usr/local/lib/python2.7/site-packages/homebrew.pth:
Error processing line 1 of /usr/local/lib/python2.7/site-packages/homebrew.pth:
Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 152, in addpackage exec line File "", line 1, in File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 190, in addsitedir addpackage(sitedir, name, known_paths) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 162, in addpackage for record in traceback.format_exception(*sys.exc_info()): File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py", line 141, in format_exception list = list + format_tb(tb, limit) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py", line 76, in format_tb return format_list(extract_tb(tb, limit)) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py", line 101, in extract_tb line = linecache.getline(filename, lineno, f.f_globals) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/linecache.py", line 14, in getline lines = getlines(filename, module_globals) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/linecache.py", line 41, in getlines return updatecache(filename, module_globals) File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/linecache.py", line 131, in updatecache with open(fullname, 'rU') as fp: RuntimeError: maximum recursion depth exceeded
Remainder of file ignored
What should have happened: Shouldn't have any run time error.