簡體   English   中英

使用Macports安裝ipdb時出錯

[英]Error installing ipdb using Macports

我想在運行優勝美地的Mac中安裝ipdb。 當我輸入以下內容時:

sudo port install ipdb.

它給了我這個錯誤:

Error: Port ipdb not found

如何解決呢?

如果在MacPorts可用端口列表中搜索ipdb ,則會發現其中有多個,每個MacPorts支持的Python版本都有一個。 請注意,MacPorts項目不贊成使用舊版本的Python,因此您應該選擇Python 2.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.

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM