Can't run after manual install (via but runs standalone

Asked by Keith on 2018-02-14


I'm on a company locked down redhat box (sigh) so can't install via an rpm package.

I've downloaded terminator-1.91.tar.gz and upon extract I can cd to the directory and run ./terminator. That launches fine.

As per the INSTALL file I successfully try run the below to install locally as I don't have access to install to the default location:

./ install --record=install-files.txt --prefix=~/opt/terminator

I then cd to ~/opt/terminator/bin and run: ./terminator only to get this error trying to load a module:

someuser@rhel7[bin] $ ./terminator
Traceback (most recent call last):
  File "./terminator", line 47, in <module>
    import terminatorlib.optionparse
ImportError: No module named terminatorlib.optionparse

The missing module exists under ~/opt/terminator/lib/python2.7/site-packages/terminatorlib

My python isn't that strong, I'm guessing it's not correctly finding the local module.

Again, terminator does run directly from the extracted archive, I just can't get the installed (via ./setup) version to launch.

Love this tool, it's fantastic, would love to get it running.

Any ideas?
(thanks in advance)

Question information

English Edit question
Terminator Edit question
No assignee Edit question
Last query:
Last reply:

Correct. You need to get PYTHONPATH set. This adds additional paths to those used for imports. More info at:

Not sure exactly how deep a path you need to add, but I think you need to add site-packages, not terminatorlib, because the imports look for terminatorlib as the first part. And you should use an absolute path, because I don't think the tilde is expanded to the ${HOME} by python (it's a bashism I think.)

So in your .bashrc or similar startup settings:
export PYTHONPATH=${HOME}/opt/terminator/lib/python2.7/site-packages

Hope that helps.

Can you help with this problem?

Provide an answer of your own, or ask Keith for more information if necessary.

To post a message you must log in.