How can I fix terminator? It doesn't workInstalling Apache Cordova, unable to locate packageI can't open...

Are there any outlying considerations if I treat donning a shield as an object interaction during the first round of combat?

Can a hotel cancel a confirmed reservation?

Why can a 352GB NumPy ndarray be used on an 8GB memory macOS computer?

Rear brake cable temporary fix possible?

Manipulating a general length function

Are there any monsters that consume a player character?

Getting a UK passport renewed when you have dual nationality and a different name in your second country?

Please help me understand the following solution

Why did Bush enact a completely different foreign policy to that which he espoused during the 2000 Presidential election campaign?

Why is button three on trumpet almost never used alone?

How would one buy a used TIE Fighter or X-Wing?

Why don't I see the difference between two different files in insert mode in vim?

Is there any differences between “gucken” and “schauen”?

What's the most convenient time of year in the USA to end the world?

Why do members of Congress in committee hearings ask witnesses the same question multiple times?

How to deal with an incendiary email that was recalled

Number of FLOP (Floating Point Operations) for exponentiation

How can I improve my fireworks photography?

Why zero tolerance on nudity in space?

If I delete my router's history can my ISP still provide it to my parents?

Word or phrase for showing great skill at something without formal training in it

Can you earn endless XP using a Flameskull and its self-revival feature?

Can polymorphing monsters spam their ability to effectively give themselves a massive health pool?

Am I a Rude Number?



How can I fix terminator? It doesn't work


Installing Apache Cordova, unable to locate packageI can't open software updater and unity tweak tool on Ubuntu14.04Failed to apply network settings, connect to the Bluetooth network via this machineWhy can't I start onedrive-d?Ubuntu Launcher Folder not workingE: Sub-process /usr/bin/dpkg returned an error code (1) when try to execute apt-get install python3-pexpectTypeError when running update-manager on ubuntu 17.10version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time referenceubuntu-cleaner in 14.04LTS?













0















When I run terminator in terminal, it doesn't work. The error is this:



$ terminator

File "/usr/bin/terminator", line 119
except (KeyError,ValueError), ex:

^
SyntaxError: invalid syntax

Error in sys.excepthook:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook

from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in
<module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
from apport.packaging_impl import impl as packaging

File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>

import apt

File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>

import apt_pkg

ModuleNotFoundError: No module named 'apt_pkg'


Original exception was:

File "/usr/bin/terminator", line 119

except (KeyError,ValueError), ex:
^

SyntaxError: invalid syntax


How can I fix it? I use Ubuntu 16.04.










share|improve this question

























  • What is the output of which python? Also, what is the first line of /usr/bin/terminator? Is it something like #!/usr/bin/python3? or is it #!/usr/bin/python?

    – Kulfy
    Feb 6 at 18:00













  • It is #!/usr/bin/python

    – Alex Seo
    Feb 8 at 9:18











  • Do you have python2 installed? Run sudo apt install python or what is the output of which python?

    – Kulfy
    Feb 8 at 12:38


















0















When I run terminator in terminal, it doesn't work. The error is this:



$ terminator

File "/usr/bin/terminator", line 119
except (KeyError,ValueError), ex:

^
SyntaxError: invalid syntax

Error in sys.excepthook:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook

from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in
<module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
from apport.packaging_impl import impl as packaging

File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>

import apt

File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>

import apt_pkg

ModuleNotFoundError: No module named 'apt_pkg'


Original exception was:

File "/usr/bin/terminator", line 119

except (KeyError,ValueError), ex:
^

SyntaxError: invalid syntax


How can I fix it? I use Ubuntu 16.04.










share|improve this question

























  • What is the output of which python? Also, what is the first line of /usr/bin/terminator? Is it something like #!/usr/bin/python3? or is it #!/usr/bin/python?

    – Kulfy
    Feb 6 at 18:00













  • It is #!/usr/bin/python

    – Alex Seo
    Feb 8 at 9:18











  • Do you have python2 installed? Run sudo apt install python or what is the output of which python?

    – Kulfy
    Feb 8 at 12:38
















0












0








0








When I run terminator in terminal, it doesn't work. The error is this:



$ terminator

File "/usr/bin/terminator", line 119
except (KeyError,ValueError), ex:

^
SyntaxError: invalid syntax

Error in sys.excepthook:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook

from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in
<module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
from apport.packaging_impl import impl as packaging

File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>

import apt

File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>

import apt_pkg

ModuleNotFoundError: No module named 'apt_pkg'


Original exception was:

File "/usr/bin/terminator", line 119

except (KeyError,ValueError), ex:
^

SyntaxError: invalid syntax


How can I fix it? I use Ubuntu 16.04.










share|improve this question
















When I run terminator in terminal, it doesn't work. The error is this:



$ terminator

File "/usr/bin/terminator", line 119
except (KeyError,ValueError), ex:

^
SyntaxError: invalid syntax

Error in sys.excepthook:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook

from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in
<module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
from apport.packaging_impl import impl as packaging

File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>

import apt

File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>

import apt_pkg

ModuleNotFoundError: No module named 'apt_pkg'


Original exception was:

File "/usr/bin/terminator", line 119

except (KeyError,ValueError), ex:
^

SyntaxError: invalid syntax


How can I fix it? I use Ubuntu 16.04.







16.04 python terminator






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 6 at 18:03









Kulfy

4,83151743




4,83151743










asked Feb 1 at 13:32









Alex SeoAlex Seo

1




1













  • What is the output of which python? Also, what is the first line of /usr/bin/terminator? Is it something like #!/usr/bin/python3? or is it #!/usr/bin/python?

    – Kulfy
    Feb 6 at 18:00













  • It is #!/usr/bin/python

    – Alex Seo
    Feb 8 at 9:18











  • Do you have python2 installed? Run sudo apt install python or what is the output of which python?

    – Kulfy
    Feb 8 at 12:38





















  • What is the output of which python? Also, what is the first line of /usr/bin/terminator? Is it something like #!/usr/bin/python3? or is it #!/usr/bin/python?

    – Kulfy
    Feb 6 at 18:00













  • It is #!/usr/bin/python

    – Alex Seo
    Feb 8 at 9:18











  • Do you have python2 installed? Run sudo apt install python or what is the output of which python?

    – Kulfy
    Feb 8 at 12:38



















What is the output of which python? Also, what is the first line of /usr/bin/terminator? Is it something like #!/usr/bin/python3? or is it #!/usr/bin/python?

– Kulfy
Feb 6 at 18:00







What is the output of which python? Also, what is the first line of /usr/bin/terminator? Is it something like #!/usr/bin/python3? or is it #!/usr/bin/python?

– Kulfy
Feb 6 at 18:00















It is #!/usr/bin/python

– Alex Seo
Feb 8 at 9:18





It is #!/usr/bin/python

– Alex Seo
Feb 8 at 9:18













Do you have python2 installed? Run sudo apt install python or what is the output of which python?

– Kulfy
Feb 8 at 12:38







Do you have python2 installed? Run sudo apt install python or what is the output of which python?

– Kulfy
Feb 8 at 12:38












3 Answers
3






active

oldest

votes


















0














Consider to reinstall packages with apt_pkg with



sudo apt-get install --reinstall python-apt python3-apt


and to be completely sure reinstall Terminator with



sudo apt-get install --reinstall terminator





share|improve this answer
























  • I tried your solution but it didn't work. It had same problem

    – Alex Seo
    Feb 6 at 14:49



















0














Terminator require python2 libraries but from your output it seems it is using python3 to run. Also, according to release notes of Ubuntu 18.04,




Python 2 is no longer installed by default. Python 3 has been updated to 3.6. This is the last LTS release to include Python 2 in main.




To install Python2 in 18.04, run:



sudo apt install python-minimal





share|improve this answer































    0














    Hola pude solucionarlo de la siguiente forma :
    editar el archivo Terminator





    sudo nano /usr/bin/terminator





    en la cabecera cambiar



    !/usr/bin/python



    por



    !/usr/bin/python2



    finalmente guardarlo y quedara solucionado :D






    share|improve this answer








    New contributor




    Elvis Edmar Zptr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.




















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114732%2fhow-can-i-fix-terminator-it-doesnt-work%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      Consider to reinstall packages with apt_pkg with



      sudo apt-get install --reinstall python-apt python3-apt


      and to be completely sure reinstall Terminator with



      sudo apt-get install --reinstall terminator





      share|improve this answer
























      • I tried your solution but it didn't work. It had same problem

        – Alex Seo
        Feb 6 at 14:49
















      0














      Consider to reinstall packages with apt_pkg with



      sudo apt-get install --reinstall python-apt python3-apt


      and to be completely sure reinstall Terminator with



      sudo apt-get install --reinstall terminator





      share|improve this answer
























      • I tried your solution but it didn't work. It had same problem

        – Alex Seo
        Feb 6 at 14:49














      0












      0








      0







      Consider to reinstall packages with apt_pkg with



      sudo apt-get install --reinstall python-apt python3-apt


      and to be completely sure reinstall Terminator with



      sudo apt-get install --reinstall terminator





      share|improve this answer













      Consider to reinstall packages with apt_pkg with



      sudo apt-get install --reinstall python-apt python3-apt


      and to be completely sure reinstall Terminator with



      sudo apt-get install --reinstall terminator






      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Feb 1 at 13:43









      N0rbertN0rbert

      23.7k650112




      23.7k650112













      • I tried your solution but it didn't work. It had same problem

        – Alex Seo
        Feb 6 at 14:49



















      • I tried your solution but it didn't work. It had same problem

        – Alex Seo
        Feb 6 at 14:49

















      I tried your solution but it didn't work. It had same problem

      – Alex Seo
      Feb 6 at 14:49





      I tried your solution but it didn't work. It had same problem

      – Alex Seo
      Feb 6 at 14:49













      0














      Terminator require python2 libraries but from your output it seems it is using python3 to run. Also, according to release notes of Ubuntu 18.04,




      Python 2 is no longer installed by default. Python 3 has been updated to 3.6. This is the last LTS release to include Python 2 in main.




      To install Python2 in 18.04, run:



      sudo apt install python-minimal





      share|improve this answer




























        0














        Terminator require python2 libraries but from your output it seems it is using python3 to run. Also, according to release notes of Ubuntu 18.04,




        Python 2 is no longer installed by default. Python 3 has been updated to 3.6. This is the last LTS release to include Python 2 in main.




        To install Python2 in 18.04, run:



        sudo apt install python-minimal





        share|improve this answer


























          0












          0








          0







          Terminator require python2 libraries but from your output it seems it is using python3 to run. Also, according to release notes of Ubuntu 18.04,




          Python 2 is no longer installed by default. Python 3 has been updated to 3.6. This is the last LTS release to include Python 2 in main.




          To install Python2 in 18.04, run:



          sudo apt install python-minimal





          share|improve this answer













          Terminator require python2 libraries but from your output it seems it is using python3 to run. Also, according to release notes of Ubuntu 18.04,




          Python 2 is no longer installed by default. Python 3 has been updated to 3.6. This is the last LTS release to include Python 2 in main.




          To install Python2 in 18.04, run:



          sudo apt install python-minimal






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 8 at 17:00









          KulfyKulfy

          4,83151743




          4,83151743























              0














              Hola pude solucionarlo de la siguiente forma :
              editar el archivo Terminator





              sudo nano /usr/bin/terminator





              en la cabecera cambiar



              !/usr/bin/python



              por



              !/usr/bin/python2



              finalmente guardarlo y quedara solucionado :D






              share|improve this answer








              New contributor




              Elvis Edmar Zptr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.

























                0














                Hola pude solucionarlo de la siguiente forma :
                editar el archivo Terminator





                sudo nano /usr/bin/terminator





                en la cabecera cambiar



                !/usr/bin/python



                por



                !/usr/bin/python2



                finalmente guardarlo y quedara solucionado :D






                share|improve this answer








                New contributor




                Elvis Edmar Zptr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.























                  0












                  0








                  0







                  Hola pude solucionarlo de la siguiente forma :
                  editar el archivo Terminator





                  sudo nano /usr/bin/terminator





                  en la cabecera cambiar



                  !/usr/bin/python



                  por



                  !/usr/bin/python2



                  finalmente guardarlo y quedara solucionado :D






                  share|improve this answer








                  New contributor




                  Elvis Edmar Zptr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.










                  Hola pude solucionarlo de la siguiente forma :
                  editar el archivo Terminator





                  sudo nano /usr/bin/terminator





                  en la cabecera cambiar



                  !/usr/bin/python



                  por



                  !/usr/bin/python2



                  finalmente guardarlo y quedara solucionado :D







                  share|improve this answer








                  New contributor




                  Elvis Edmar Zptr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  share|improve this answer



                  share|improve this answer






                  New contributor




                  Elvis Edmar Zptr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 29 mins ago









                  Elvis Edmar ZptrElvis Edmar Zptr

                  1




                  1




                  New contributor




                  Elvis Edmar Zptr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  Elvis Edmar Zptr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  Elvis Edmar Zptr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114732%2fhow-can-i-fix-terminator-it-doesnt-work%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                      Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                      Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...