pnv
pnv

Reputation: 3145

Unable to use tmuxp

I installed tmuxp using sudo pip install --user tmuxp. However I'm unable to load my profile work.yaml. It throws error

Traceback (most recent call last):
  File "/home/pranav/.local/bin/tmuxp", line 7, in <module>
    from tmuxp import cli
ImportError: No module named tmuxp

I've followed https://github.com/tony/tmuxp instructions.

Upvotes: 1

Views: 799

Answers (1)

tony
tony

Reputation: 1008

Uninstall: pip uninstall tmuxp

Assure the binary file is removed: rm ~/.local/bin/tmuxp

Reinstall: pip install --user tmuxp

Double check your python / pip configuration:

If the above doesn't work, there may be a larger issue with your pip installation, the problem may be a generic pip issue. 90% of the time this happens with PATHs from system's python mix up your user-level python.

Check which pip, which python and get an eye through tracebacks if your system's packages are mixing up with your local ones (e.g. /usr/local/python3.7/site-packages and ~/.somepath/python3.7/site-packages. If that is the case, consider clearing out all local pip packages and reinstalling pip through the get-pip.py installer.

Upvotes: 1

Related Questions