我正在使用Ubuntu18.04.2LTS,并安装了Python3.6.7。
我使用以下命令安装了idle3:
sudo apt-get install idle3
成功地安装了ide。
但是,当我试图使用idle3
调用它时,我会得到以下错误:
Command 'idle3' not found, did you mean:
command 'idle' from deb idle
Try: sudo apt install <deb name>
如果再次运行sudo apt-get install idle3
,将得到以下消息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
idle3 is already the newest version (3.6.7-1~18.04).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
命令which idle3
不会产生任何结果。我做错了什么,以及如何让idle3 (大概安装在我的系统上)运行。
发布于 2019-04-05 07:27:16
Ubuntu18.04中的默认Python是Python3.6.7。在终端中输入命令idle
启动空闲(使用Python3.6.7)。您还可以通过单击Dash中的图标来启动空闲和idle3。
https://askubuntu.com/questions/1131469
复制