[Bug 1722397] Re: idle doesn't run in 17.10
dino99
1722397 at bugs.launchpad.net
Tue Oct 10 05:16:03 UTC 2017
** Tags added: artful
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1722397
Title:
idle doesn't run in 17.10
Status in python3-defaults package in Ubuntu:
New
Bug description:
In 17.10 the idle package (v. 3.6.3-0ubuntu1) depends on Python 3.6.
But the /usr/bin/idle script contains the code that doesn't work in
Python 3.6.
$ idle
Traceback (most recent call last):
File "/usr/bin/idle", line 3, in <module>
from idlelib.PyShell import main
ModuleNotFoundError: No module named 'idlelib.PyShell'
In Python 3.6 the PyShell module was renamed to pyshell (see
https://bugs.python.org/issue24225).
/usr/bin/idle-python3.6 from the idle-python3.6 package works
correctly.
Maybe make /usr/bin/idle just a link to /usr/bin/idle-python3.6?
If you want /usr/bin/idle always run the default python3 and don't
depent of future changes in the idlelib Python package, you can make
it a shell script:
#! /bin/sh
exec /usr/bin/python3 -m idlelib
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1722397/+subscriptions
More information about the foundations-bugs
mailing list