我想在运行Yosemite的Mac中安装ipdb。当我输入这个:
sudo port install ipdb.它给了我这个错误:
Error: Port ipdb not found如何解决这个问题?
发布于 2014-12-11 06:05:06
如果您在MacPorts可用端口列表中搜索ipdb,您会发现其中有几个,每个MacPorts支持的MacPorts版本都有一个。请注意,MacPorts项目不推荐早期版本的Python,因此您应该选择Python2.7或3.4版本。例如:
sudo port install py34-ipdb您还可以使用命令行接口进行搜索:
$ port search ipdb
ipdb_select @0.3_1 (python)
common files for selecting default ipdb version
py-ipdb @0.8 (python)
An enhanced Interactive Python shell
py24-ipdb @0.8_1 (python)
this port is only a stub and has been made obsolete by py27-ipdb
py25-ipdb @0.8_1 (python)
this port is only a stub and has been made obsolete by py27-ipdb
py26-ipdb @0.8_1 (python)
this port is only a stub and has been made obsolete by py27-ipdb
py27-ipdb @0.8 (python)
An enhanced Interactive Python shell
py31-ipdb @0.8_1 (python)
this port is only a stub and has been made obsolete by py34-ipdb
py32-ipdb @0.8_1 (python)
this port is only a stub and has been made obsolete by py34-ipdb
py33-ipdb @0.8_1 (python)
this port is only a stub and has been made obsolete by py34-ipdb
py34-ipdb @0.8 (python)
An enhanced Interactive Python shell
Found 10 ports.https://stackoverflow.com/questions/27415517
复制相似问题