Unity Tweak tool not launching from terminal or launcher

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Unity Tweak Tool is not launching from the Dash. My Ubuntu version is 16.04. If I try to run from the terminal I get this error:



Traceback (most recent call last):
File "/usr/bin/unity-tweak-tool", line 33, in <module>
import UnityTweakTool
File "/usr/lib/python3/dist-packages/UnityTweakTool/__init__.py", line 38, in <module>
import logging
File "/usr/lib/python3.5/logging/__init__.py", line 28, in <module>
from string import Template
ImportError: No module named 'string'
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 21, in <module>
from urllib.request import urlopen
File "/usr/lib/python3.5/urllib/request.py", line 88, in <module>
import http.client
File "/usr/lib/python3.5/http/client.py", line 71, in <module>
import email.parser
File "/usr/lib/python3.5/email/parser.py", line 12, in <module>
from email.feedparser import FeedParser, BytesFeedParser
File "/usr/lib/python3.5/email/feedparser.py", line 27, in <module>
from email import message
File "/usr/lib/python3.5/email/message.py", line 16, in <module>
from email import utils
File "/usr/lib/python3.5/email/utils.py", line 40, in <module>
from email.charset import Charset
File "/usr/lib/python3.5/email/charset.py", line 15, in <module>
import email.quoprimime
File "/usr/lib/python3.5/email/quoprimime.py", line 44, in <module>
from string import ascii_letters, digits, hexdigits
ImportError: No module named 'string'

Original exception was:
Traceback (most recent call last):
File "/usr/bin/unity-tweak-tool", line 33, in <module>
import UnityTweakTool
File "/usr/lib/python3/dist-packages/UnityTweakTool/__init__.py", line 38, in <module>
import logging
File "/usr/lib/python3.5/logging/__init__.py", line 28, in <module>
from string import Template
ImportError: No module named 'string'






share|improve this question






















  • You've already posted a question 4 hours earlier stating that you have errors in your installation. You should focus on fixing that error first: askubuntu.com/questions/1038334/…
    – WinEunuuchs2Unix
    May 20 at 15:59










  • Yes @WinEunuuchs2Unix That installation problem is solved now the problem is I can't open Unity Tweak Tool this python is persistent.
    – Jatin Rao
    May 20 at 16:10














up vote
0
down vote

favorite












Unity Tweak Tool is not launching from the Dash. My Ubuntu version is 16.04. If I try to run from the terminal I get this error:



Traceback (most recent call last):
File "/usr/bin/unity-tweak-tool", line 33, in <module>
import UnityTweakTool
File "/usr/lib/python3/dist-packages/UnityTweakTool/__init__.py", line 38, in <module>
import logging
File "/usr/lib/python3.5/logging/__init__.py", line 28, in <module>
from string import Template
ImportError: No module named 'string'
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 21, in <module>
from urllib.request import urlopen
File "/usr/lib/python3.5/urllib/request.py", line 88, in <module>
import http.client
File "/usr/lib/python3.5/http/client.py", line 71, in <module>
import email.parser
File "/usr/lib/python3.5/email/parser.py", line 12, in <module>
from email.feedparser import FeedParser, BytesFeedParser
File "/usr/lib/python3.5/email/feedparser.py", line 27, in <module>
from email import message
File "/usr/lib/python3.5/email/message.py", line 16, in <module>
from email import utils
File "/usr/lib/python3.5/email/utils.py", line 40, in <module>
from email.charset import Charset
File "/usr/lib/python3.5/email/charset.py", line 15, in <module>
import email.quoprimime
File "/usr/lib/python3.5/email/quoprimime.py", line 44, in <module>
from string import ascii_letters, digits, hexdigits
ImportError: No module named 'string'

Original exception was:
Traceback (most recent call last):
File "/usr/bin/unity-tweak-tool", line 33, in <module>
import UnityTweakTool
File "/usr/lib/python3/dist-packages/UnityTweakTool/__init__.py", line 38, in <module>
import logging
File "/usr/lib/python3.5/logging/__init__.py", line 28, in <module>
from string import Template
ImportError: No module named 'string'






share|improve this question






















  • You've already posted a question 4 hours earlier stating that you have errors in your installation. You should focus on fixing that error first: askubuntu.com/questions/1038334/…
    – WinEunuuchs2Unix
    May 20 at 15:59










  • Yes @WinEunuuchs2Unix That installation problem is solved now the problem is I can't open Unity Tweak Tool this python is persistent.
    – Jatin Rao
    May 20 at 16:10












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Unity Tweak Tool is not launching from the Dash. My Ubuntu version is 16.04. If I try to run from the terminal I get this error:



Traceback (most recent call last):
File "/usr/bin/unity-tweak-tool", line 33, in <module>
import UnityTweakTool
File "/usr/lib/python3/dist-packages/UnityTweakTool/__init__.py", line 38, in <module>
import logging
File "/usr/lib/python3.5/logging/__init__.py", line 28, in <module>
from string import Template
ImportError: No module named 'string'
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 21, in <module>
from urllib.request import urlopen
File "/usr/lib/python3.5/urllib/request.py", line 88, in <module>
import http.client
File "/usr/lib/python3.5/http/client.py", line 71, in <module>
import email.parser
File "/usr/lib/python3.5/email/parser.py", line 12, in <module>
from email.feedparser import FeedParser, BytesFeedParser
File "/usr/lib/python3.5/email/feedparser.py", line 27, in <module>
from email import message
File "/usr/lib/python3.5/email/message.py", line 16, in <module>
from email import utils
File "/usr/lib/python3.5/email/utils.py", line 40, in <module>
from email.charset import Charset
File "/usr/lib/python3.5/email/charset.py", line 15, in <module>
import email.quoprimime
File "/usr/lib/python3.5/email/quoprimime.py", line 44, in <module>
from string import ascii_letters, digits, hexdigits
ImportError: No module named 'string'

Original exception was:
Traceback (most recent call last):
File "/usr/bin/unity-tweak-tool", line 33, in <module>
import UnityTweakTool
File "/usr/lib/python3/dist-packages/UnityTweakTool/__init__.py", line 38, in <module>
import logging
File "/usr/lib/python3.5/logging/__init__.py", line 28, in <module>
from string import Template
ImportError: No module named 'string'






share|improve this question














Unity Tweak Tool is not launching from the Dash. My Ubuntu version is 16.04. If I try to run from the terminal I get this error:



Traceback (most recent call last):
File "/usr/bin/unity-tweak-tool", line 33, in <module>
import UnityTweakTool
File "/usr/lib/python3/dist-packages/UnityTweakTool/__init__.py", line 38, in <module>
import logging
File "/usr/lib/python3.5/logging/__init__.py", line 28, in <module>
from string import Template
ImportError: No module named 'string'
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 21, in <module>
from urllib.request import urlopen
File "/usr/lib/python3.5/urllib/request.py", line 88, in <module>
import http.client
File "/usr/lib/python3.5/http/client.py", line 71, in <module>
import email.parser
File "/usr/lib/python3.5/email/parser.py", line 12, in <module>
from email.feedparser import FeedParser, BytesFeedParser
File "/usr/lib/python3.5/email/feedparser.py", line 27, in <module>
from email import message
File "/usr/lib/python3.5/email/message.py", line 16, in <module>
from email import utils
File "/usr/lib/python3.5/email/utils.py", line 40, in <module>
from email.charset import Charset
File "/usr/lib/python3.5/email/charset.py", line 15, in <module>
import email.quoprimime
File "/usr/lib/python3.5/email/quoprimime.py", line 44, in <module>
from string import ascii_letters, digits, hexdigits
ImportError: No module named 'string'

Original exception was:
Traceback (most recent call last):
File "/usr/bin/unity-tweak-tool", line 33, in <module>
import UnityTweakTool
File "/usr/lib/python3/dist-packages/UnityTweakTool/__init__.py", line 38, in <module>
import logging
File "/usr/lib/python3.5/logging/__init__.py", line 28, in <module>
from string import Template
ImportError: No module named 'string'








share|improve this question













share|improve this question




share|improve this question








edited May 21 at 22:45









ubashu

2,23221736




2,23221736










asked May 20 at 14:56









Jatin Rao

11




11











  • You've already posted a question 4 hours earlier stating that you have errors in your installation. You should focus on fixing that error first: askubuntu.com/questions/1038334/…
    – WinEunuuchs2Unix
    May 20 at 15:59










  • Yes @WinEunuuchs2Unix That installation problem is solved now the problem is I can't open Unity Tweak Tool this python is persistent.
    – Jatin Rao
    May 20 at 16:10
















  • You've already posted a question 4 hours earlier stating that you have errors in your installation. You should focus on fixing that error first: askubuntu.com/questions/1038334/…
    – WinEunuuchs2Unix
    May 20 at 15:59










  • Yes @WinEunuuchs2Unix That installation problem is solved now the problem is I can't open Unity Tweak Tool this python is persistent.
    – Jatin Rao
    May 20 at 16:10















You've already posted a question 4 hours earlier stating that you have errors in your installation. You should focus on fixing that error first: askubuntu.com/questions/1038334/…
– WinEunuuchs2Unix
May 20 at 15:59




You've already posted a question 4 hours earlier stating that you have errors in your installation. You should focus on fixing that error first: askubuntu.com/questions/1038334/…
– WinEunuuchs2Unix
May 20 at 15:59












Yes @WinEunuuchs2Unix That installation problem is solved now the problem is I can't open Unity Tweak Tool this python is persistent.
– Jatin Rao
May 20 at 16:10




Yes @WinEunuuchs2Unix That installation problem is solved now the problem is I can't open Unity Tweak Tool this python is persistent.
– Jatin Rao
May 20 at 16:10










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Adding string.py file to python3.5 directory solved my problem. Somehow it was missing from there.






share|improve this answer




















  • Please add more information on how to do that.
    – ubashu
    May 21 at 22:46










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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
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%2f1038410%2funity-tweak-tool-not-launching-from-terminal-or-launcher%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Adding string.py file to python3.5 directory solved my problem. Somehow it was missing from there.






share|improve this answer




















  • Please add more information on how to do that.
    – ubashu
    May 21 at 22:46














up vote
0
down vote













Adding string.py file to python3.5 directory solved my problem. Somehow it was missing from there.






share|improve this answer




















  • Please add more information on how to do that.
    – ubashu
    May 21 at 22:46












up vote
0
down vote










up vote
0
down vote









Adding string.py file to python3.5 directory solved my problem. Somehow it was missing from there.






share|improve this answer












Adding string.py file to python3.5 directory solved my problem. Somehow it was missing from there.







share|improve this answer












share|improve this answer



share|improve this answer










answered May 21 at 18:18









Jatin Rao

11




11











  • Please add more information on how to do that.
    – ubashu
    May 21 at 22:46
















  • Please add more information on how to do that.
    – ubashu
    May 21 at 22:46















Please add more information on how to do that.
– ubashu
May 21 at 22:46




Please add more information on how to do that.
– ubashu
May 21 at 22:46












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1038410%2funity-tweak-tool-not-launching-from-terminal-or-launcher%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error