narfdotpl / debug Goto Github PK
View Code? Open in Web Editor NEWimport debug
License: The Unlicense
import debug
License: The Unlicense
cannot import name ipapi
It will become an issue with 0.11 stable release but I don't think it will happen too soon.
Looks like it has happened (a few months ago), any chance of seeing a fix for IPython 0.11?
Using "import debug" at the point of debug is easy, but there is a problem because after the first time "debug" is imported then further such statements have no effect. So you can't have multiple debug points, and even within the same ipython session only the first import is noticed. You might make a callable function so at any debug point you do:
import debug; debug.debug()
Also, maybe wrap the code that imports "see" in a try so this is dependency is optional.
pip install debug
uninstalls ipdb 0.7 as it requires ipdb==0.6.1 in https://github.com/narfdotpl/debug/blob/master/setup.py#L15
Is there any issue with ipdb>0.6.1?
/usr/local/lib/python2.7/dist-packages/debug.py in ()
4 from sys import _getframe
5
----> 6 from IPython import ipapi
7 from IPython.Debugger import Pdb
8 from IPython.Shell import IPShell
ImportError: cannot import name ipapi
Info:
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
Type "copyright", "credits" or "license" for more information.
IPython 0.11.dev -- An enhanced Interactive Python.
oldest version as of right now is 0.8 https://pypi.python.org/pypi/ipdb
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.