如何在linux上为anaconda安装ipdb?

时间:2016-03-20 23:14:22

标签: python linux anaconda

我的问题是:(仅适用于linux)

How to install ipdb with Anaconda on Windows?

1 个答案:

答案 0 :(得分:0)

在linux miniconda2系统上,我做了以下事情:

cd ~/miniconda2/bin
easy_install ipdb 

已安装:

~/miniconda2/lib/python2.7/site-packages/ipdb-0.9.0-py2.7.egg 

ipdb出现在miniconda2/bin目录中,我可以毫无问题地使用cmd行中的ipdb

我猜想anaconda将与miniconda非常相似,这种方法应该适用于两者

此方法基于您对类似基于Windows的问题的链接给出的答案。我之前曾试图通过conda安装,但没有运气,即

$ conda install ipdb
Fetching package metadata: ....
Error: No packages found in current linux-64 channels matching: ipdb

You can search for this package on anaconda.org with

    anaconda search -t conda ipdb

You may need to install the anaconda-client command line client with

    conda install anaconda-client