Closed awwaiid closed 7 years ago
Hi @halostatue any reason that blocks this change? We also met this issue on debian like system.
Look forward to your consideration of this PR. Thanks Peter
You are correct. The problem here is that IPython assumes that sys.argv is set. This is not true for an embedded interpreter, which is essentially what RubyPython is. A quick workaround is to use
{{{ sys = RubyPython.import "sys" sys.argv = [""] }}}
right after staring the interpreter and before importing IPython.
This issue was already included in release 0.6.4. please update via gem.
Reopen this if the issue still exists.
Adding this line got it to work for me on both recent debian and ubuntu machines.