Abh*_*tia 8 python ipython qtconsole anaconda
我正在使用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
Run Code Online (Sandbox Code Playgroud)
尝试创建一个Desktop文件,该文件具有所需路径的绝对路径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
Run Code Online (Sandbox Code Playgroud)
将此文本文件保存在中~/.local/share/applications/ipython_qtconsole.desktop
,然后将其拖到.desktop
启动器中。
我只是在猜测您的ipython的位置是/anaconda/bin/ipython
;要确定正确的路径,请which ipython
在终端中运行。