0
요세미티를 실행하는 Mac에 ipdb를 설치하고 싶습니다. 나는이를 입력하면 :MacPort를 사용하여 ipdb를 설치하는 중 오류가 발생했습니다.
sudo port install ipdb.
그것은 나에게이 오류 제공 :
Error: Port ipdb not found
방법이 문제를 해결하기를?
요세미티를 실행하는 Mac에 ipdb를 설치하고 싶습니다. 나는이를 입력하면 :MacPort를 사용하여 ipdb를 설치하는 중 오류가 발생했습니다.
sudo port install ipdb.
그것은 나에게이 오류 제공 :
Error: Port ipdb not found
방법이 문제를 해결하기를?
MacPorts available ports list을 ipdb
으로 검색하면 MacPorts에서 지원하는 각 버전의 Python에 하나씩 포함되어 있습니다. MacPorts 프로젝트는 이전 버전의 Python을 사용하지 않으므로 Python 2.7 또는 3.4 버전을 선택해야합니다. 예를 들면 :
$ 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.
당신이 MacPorts를를 사용하는 이유가 있나요 :
당신은 또한 검색 명령 줄 인터페이스를 사용할 수 있습니다? 대부분의 사람들은 Homebrew로 이동했습니다. http://brew.sh/ – nathancahill
또한 pip를 사용하여 ipdb를 설치할 수 있습니다 :'pip install ipdb' – nathancahill
잠시 macports를 사용하고 있습니다. 모든 패키지는 macports를 통해 다운로드됩니다. 그래서 이유가 있습니다. – lakesh