Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDeprecation warning when running with recent IPython #47
Comments
|
I am getting the same thing. Any idea when #42 is getting merged? |
|
Its still the same error after 2 years. Not sure when we can expect the fix to be incorporated. |
|
import os activate_this = os.environ.get("SUBLIMEREPL_ACTIVATE_THIS", None) turn off pageros.environ['TERM'] = 'emacs' if activate_this: try: if not IPYTHON: IPython 4if version > 3: all other versionselse: editor = "subl -w" cfg = Config() IPython 4.0.0if version > 3:
IPython 2-3elif version > 1:
else:
embedded_shell = ZMQTerminalIPythonApp(config=cfg, user_ns={}) if os.name == "nt": ac_port = int(os.environ.get("SUBLIMEREPL_AC_PORT", "0")) def read_netstring(s): def send_netstring(sock, msg): def complete(zmq_shell, req): def handle(): if ac_port: embedded_shell.start() if ac_port: replace your ipy_repl.py to above code @debu999 |
I'm getting the following warning against IPython installed from a current pip install of
jupyter:[Ah - I see this has been addressed in https://github.com//pull/42 - but not accepted yet?]