“Could not import runpy module” when running apt-get on Xubuntu 12.10Problem with installing a python moduleInstalling Apache Cordova, unable to locate packageI can't open software updater and unity tweak tool on Ubuntu14.0416.04.1 LTS glibcxx 3.4.21 not definedWhy can't I start onedrive-d?TypeError when running update-manager on ubuntu 17.10Dependency errors for python3 and many others when I run sudo apt-get upgrade18.04--GnomeTerminal won't start
How to evaluate math equation, one per line in a file?
How can medieval knights protects themselves against modern guns?
What's the -nym for describing a time of day or a period of time?
How can you weaponize a thermos?
What arguments have been made for not impeaching Trump?
How to tell that this is a draw
how to vertically shift a summation limit and align the result with another one (in another term)?
Applications in Dock not showing 'open application' indicators
Big equation writing in LaTeX
Is there a word/phrase that can describe playing a musical instrument in a casual way?
Why is SpaceX not also working on a smaller version of Starship?
Threatening to discontinue a service for a client
Back with another one-line wonder!
What is the meaning of the Latin names of grammatical cases (in general, not in Latin)?
Does the "reappearing" property of the "Shadowneedle" Unbreakable Arrow function?
Can Teflon thread tape be reused?
If I Ready an action, can I then use my reaction for something else?
Why is it ethical for Ambassador Sondland to have been given an ambassadorship for campaign contributions?
Why do HK chefs use a white cloth to clutch wok?
Why is it so important who the whistleblower in the Trump-Zelensky phone call is?
How do I negotiate salary when returning to a position I just left?
Feedback resistors and op-amp instability
Do Klingons have escape pods?
Simulate reproduction in a population of oozes
“Could not import runpy module” when running apt-get on Xubuntu 12.10
Problem with installing a python moduleInstalling Apache Cordova, unable to locate packageI can't open software updater and unity tweak tool on Ubuntu14.0416.04.1 LTS glibcxx 3.4.21 not definedWhy can't I start onedrive-d?TypeError when running update-manager on ubuntu 17.10Dependency errors for python3 and many others when I run sudo apt-get upgrade18.04--GnomeTerminal won't start
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
Just installed Xubuntu 12.10, on first apt-get update and upgrade I got Could not import runpy module
and all installs seem to stop there.
E.g. sudo apt-get --reinstall install python
gives the following
[...]
running python rtupdate hooks for python3.2...
Could not import runpy module
Traceback (most recent call last):
File "/usr/bin/py3compile", line 289, in <module>
main()
File "/usr/bin/py3compile", line 283, in main
process.communicate()
File "/usr/lib/python3.2/subprocess.py", line 809, in communicate
self.stdin.close()
IOError: [Errno 32] Broken pipe
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 64, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 4, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 12, in <module>
import subprocess, tempfile, os.path, re, pwd, grp, os
EOFError: EOF read where not expected<br/>
[...]
dpkg: error processing python3-aptdaemon.pkcompat (--configure):
dependency problems - leaving unconfigured
Setting up python (2.7.3-0ubuntu7) ...
Errors were encountered while processing:
python3
python3-dbus
python3-distupgrade
python3-update-manager
python3-gi
ufw
python3-problem-report
python3-apport
python3-aptdaemon
python3-aptdaemon.gtk3widgets
python3-aptdaemon.pkcompat
E: Sub-process /usr/bin/dpkg returned an error code (1)
[...]
All help in solving this is very much appreciated.
matti
12.10 apt python
add a comment
|
Just installed Xubuntu 12.10, on first apt-get update and upgrade I got Could not import runpy module
and all installs seem to stop there.
E.g. sudo apt-get --reinstall install python
gives the following
[...]
running python rtupdate hooks for python3.2...
Could not import runpy module
Traceback (most recent call last):
File "/usr/bin/py3compile", line 289, in <module>
main()
File "/usr/bin/py3compile", line 283, in main
process.communicate()
File "/usr/lib/python3.2/subprocess.py", line 809, in communicate
self.stdin.close()
IOError: [Errno 32] Broken pipe
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 64, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 4, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 12, in <module>
import subprocess, tempfile, os.path, re, pwd, grp, os
EOFError: EOF read where not expected<br/>
[...]
dpkg: error processing python3-aptdaemon.pkcompat (--configure):
dependency problems - leaving unconfigured
Setting up python (2.7.3-0ubuntu7) ...
Errors were encountered while processing:
python3
python3-dbus
python3-distupgrade
python3-update-manager
python3-gi
ufw
python3-problem-report
python3-apport
python3-aptdaemon
python3-aptdaemon.gtk3widgets
python3-aptdaemon.pkcompat
E: Sub-process /usr/bin/dpkg returned an error code (1)
[...]
All help in solving this is very much appreciated.
matti
12.10 apt python
add a comment
|
Just installed Xubuntu 12.10, on first apt-get update and upgrade I got Could not import runpy module
and all installs seem to stop there.
E.g. sudo apt-get --reinstall install python
gives the following
[...]
running python rtupdate hooks for python3.2...
Could not import runpy module
Traceback (most recent call last):
File "/usr/bin/py3compile", line 289, in <module>
main()
File "/usr/bin/py3compile", line 283, in main
process.communicate()
File "/usr/lib/python3.2/subprocess.py", line 809, in communicate
self.stdin.close()
IOError: [Errno 32] Broken pipe
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 64, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 4, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 12, in <module>
import subprocess, tempfile, os.path, re, pwd, grp, os
EOFError: EOF read where not expected<br/>
[...]
dpkg: error processing python3-aptdaemon.pkcompat (--configure):
dependency problems - leaving unconfigured
Setting up python (2.7.3-0ubuntu7) ...
Errors were encountered while processing:
python3
python3-dbus
python3-distupgrade
python3-update-manager
python3-gi
ufw
python3-problem-report
python3-apport
python3-aptdaemon
python3-aptdaemon.gtk3widgets
python3-aptdaemon.pkcompat
E: Sub-process /usr/bin/dpkg returned an error code (1)
[...]
All help in solving this is very much appreciated.
matti
12.10 apt python
Just installed Xubuntu 12.10, on first apt-get update and upgrade I got Could not import runpy module
and all installs seem to stop there.
E.g. sudo apt-get --reinstall install python
gives the following
[...]
running python rtupdate hooks for python3.2...
Could not import runpy module
Traceback (most recent call last):
File "/usr/bin/py3compile", line 289, in <module>
main()
File "/usr/bin/py3compile", line 283, in main
process.communicate()
File "/usr/lib/python3.2/subprocess.py", line 809, in communicate
self.stdin.close()
IOError: [Errno 32] Broken pipe
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 64, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 4, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 12, in <module>
import subprocess, tempfile, os.path, re, pwd, grp, os
EOFError: EOF read where not expected<br/>
[...]
dpkg: error processing python3-aptdaemon.pkcompat (--configure):
dependency problems - leaving unconfigured
Setting up python (2.7.3-0ubuntu7) ...
Errors were encountered while processing:
python3
python3-dbus
python3-distupgrade
python3-update-manager
python3-gi
ufw
python3-problem-report
python3-apport
python3-aptdaemon
python3-aptdaemon.gtk3widgets
python3-aptdaemon.pkcompat
E: Sub-process /usr/bin/dpkg returned an error code (1)
[...]
All help in solving this is very much appreciated.
matti
12.10 apt python
12.10 apt python
edited Nov 15 '14 at 10:56
OrangeTux
4,3838 gold badges26 silver badges53 bronze badges
4,3838 gold badges26 silver badges53 bronze badges
asked Mar 21 '13 at 6:30
mattimatti
311 silver badge2 bronze badges
311 silver badge2 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
This is a bug that still not fixed yet. see Bug #1024016 .
Maybe you can try this way in #31 floor or apt-get remove python3 and wait until the bug is fixed.
add a comment
|
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/4.0/"u003ecc by-sa 4.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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f270720%2fcould-not-import-runpy-module-when-running-apt-get-on-xubuntu-12-10%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is a bug that still not fixed yet. see Bug #1024016 .
Maybe you can try this way in #31 floor or apt-get remove python3 and wait until the bug is fixed.
add a comment
|
This is a bug that still not fixed yet. see Bug #1024016 .
Maybe you can try this way in #31 floor or apt-get remove python3 and wait until the bug is fixed.
add a comment
|
This is a bug that still not fixed yet. see Bug #1024016 .
Maybe you can try this way in #31 floor or apt-get remove python3 and wait until the bug is fixed.
This is a bug that still not fixed yet. see Bug #1024016 .
Maybe you can try this way in #31 floor or apt-get remove python3 and wait until the bug is fixed.
answered Apr 21 '13 at 12:52
zxlynzxlyn
1
1
add a comment
|
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f270720%2fcould-not-import-runpy-module-when-running-apt-get-on-xubuntu-12-10%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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