Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Just installed, "ImportError: cannot import name test_support" #121
I just installed tmuxp (
Traceback (most recent call last): File "/usr/local/bin/tmuxp", line 7, in <module> from tmuxp import cli File "/usr/local/lib/python2.7/site-packages/tmuxp/__init__.py", line 17, in <module> from .session import Session File "/usr/local/lib/python2.7/site-packages/tmuxp/session.py", line 14, in <module> from .window import Window File "/usr/local/lib/python2.7/site-packages/tmuxp/window.py", line 14, in <module> from . import util, formats, exc File "/usr/local/lib/python2.7/site-packages/tmuxp/util.py", line 22, in <module> from . import exc File "/usr/local/lib/python2.7/site-packages/tmuxp/exc.py", line 14, in <module> from ._compat import implements_to_string File "/usr/local/lib/python2.7/site-packages/tmuxp/_compat.py", line 36, in <module> from test import test_support as support ImportError: cannot import name test_support
I'm on OS X 10.10 with (homebrew installed) Python 2.7.9.
I also have pip version 7.1.2. I don't recall how it was originally installed.
The problem for me is that I have my user site-packages pointing at a virtualenv (for a project that has imports within plpythonu functions). This is where my system is finding the latest version of pip.
I removed the user site-packages synlink, uninstalled tmuxp and reinstalled it. This seems to have corrected the issue for me.