我正在使用Kubuntu 16.04和kde 5.6.4。我已经安装了 anaconda python 3.5,其中包括ipython qtconsole。
要启动 ipython qtconsole,我必须在终端中键入ipython qtconsole
。无论如何我可以为它创建一个启动器吗?
我知道有一个包,但它没有链接到 anaconda python 3.5,我不想要另一个单独的 python 3.5。
abhishek ~ $ apt-cache search ipython3-qtconsole
ipython3 - enhanced interactive Python 3 shell
ipython3-qtconsole - enhanced interactive Python 3 shell - Qt console
尝试创建一个桌面文件,其中包含所需ipython
的绝对路径,例如:
[Desktop Entry]
Type=Application
Exec=/anaconda/bin/ipython qtconsole %u
Name=Jupyter Console
GenericName=Qt Application
Comment=Run a new IPython QT Console
Categories=Qt;KDE;
# MimeType=application/x-your-mime-type;
# Icon=some-icon
# X-DocPath=yourapp/index.html
# Terminal=false
将此文本文件保存在~/.local/share/applications/ipython_qtconsole.desktop
中,然后将.desktop
文件拖到启动器中。
我只是猜测你的ipython的位置是/anaconda/bin/ipython
;要确定正确的路径,请在终端中运行which ipython
。