You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use (setq python-shell-interpreter "jupyter") (setq python-shell-interpreter-args "console --existing /tmp/tmp_c0vh40k.json")
to connect to a locally running ipython kernel that runs in its own application.
That works so far. Just the auto completion is very laggy. I suspect either it is too eager or
it searches too big of a name space not sure.
How can I customize this behavior?
I think it might be connected to:
■ Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "jupyter" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list. Native completions have been disabled locally. Consider installing the python package "readline".
In my python environment I can not install readline though. Pip suggests it is an issue with the package itself.
If I send a command from org babel a lot of things are printed in the console sadly. Anything I can do about this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I use
(setq python-shell-interpreter "jupyter") (setq python-shell-interpreter-args "console --existing /tmp/tmp_c0vh40k.json")
to connect to a locally running ipython kernel that runs in its own application.
That works so far. Just the auto completion is very laggy. I suspect either it is too eager or
it searches too big of a name space not sure.
How can I customize this behavior?
I think it might be connected to:
■ Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "jupyter" is not part of the ‘python-shell-completion-native-disabled-interpreters’ list. Native completions have been disabled locally. Consider installing the python package "readline".
In my python environment I can not install readline though. Pip suggests it is an issue with the package itself.
If I send a command from org babel a lot of things are printed in the console sadly. Anything I can do about this?
`__PYTHON_EL_eval("try:\n import ast\n with open('/tmp/babel-YboLxo/python-gZXfFG') as __org_babel_python_tmpfile:\n __org_babel_python_ast = ast.parse(__org_babel_python_tmpfile.read())\n __org_babel_python_final = __org_babel_python_ast.body[-1]\n if isinstance(__org_babel_python_final, ast.Expr):\n __org_babel_python_ast.body = __org_babel_python_ast.body[:-1]\n exec(compile(__org_babel_python_ast, '', 'exec'))\n __org_babel_python_final = eval(compile(ast.Expression(\n __org_babel_python_final.value), '', 'eval'))\n else:\n exec(compile(__org_babel_python_ast, '', 'exec'))\n __org_babel_python_final = None\n __org_babel_python_format_value(__org_babel_python_final, '/tmp/babel-YboLxo/python-kUTHRy', ["replace"])\nexcept:\n raise\nfinally:\n print('org_babel_python_eoe')", "")
org_babel_python_eoe
`
Any help appreciated and if there is a better place to ask I am sorry and happy to move the question.
Beta Was this translation helpful? Give feedback.
All reactions