Python Intro - ipdb debug install

2023-11-12


1. build and install setuptools

1.1 download setuptools

      setuptools-15.0.tar.gz

1.2 unzip setuptools

      tar xf setuptools-15.0.tar.gz

1.3 install setuptools

      python3 setup.py install


2. build and install ipython

2.1 download ipython

      ipython-3.1.0.tar.gz

2.2 unzip ipython

     tar xf ipython-3.1.0.tar.gz

2.3 install ipython

      python3 setup.py install


3. build and install ipdb

3.1  download ipdb

     git clone https://github.com/gotcha/ipdb.git ipdb

3.2  install ipdb

     python3 setup.py install

3.3 run debug

      ln -s /usr/local/bin/ipdb3 /usr/bin/ipdb

      ipdb zpl.py


> /home/frank/workspace/python/zpl.py(3)<module>()
      2
----> 3 import ipdb;
     



本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Python Intro - ipdb debug install 的相关文章

随机推荐