Question

SublimeREPL says 'IPython doesn't work under SublimeREPL on Windows' when I select Ipython from it.

Is there any solution out there for this great plugin to work with IPython on Windows as well.

Was it helpful?

Solution 2

If you haven't made any changes to config files within the Packages/SublimeREPL directory, try erasing/backing it up, and running the following in the Packages directory:

git clone git://github.com/wuub/SublimeREPL.git

to get the absolute latest version. Assuming you have IPython set up properly on your system, you should be able to choose Tools -> SublimeREPL -> Python -> Python - IPython and have it run fine. Make sure you have the latest build of Sublime Text 2. I have it set up at work on WinXP with ST2 Build 2220, IPython 0.13.2, and the latest versions of NumPy and matplotlib/pylab, and it works like a charm.

If this still doesn't work, let me know and I'll try and walk you through it...

OTHER TIPS

tl;dr: try master branch from github. If something doesn't work, get in touch with me (github issues), I'll try to help:)

Hi everyone,

there is no need for such heated discussion :) SublimeREPL is in a bit of a transitional state right now. Development is progressing steadily (https://github.com/wuub/SublimeREPL/commits/master) with most of my personal focus on Python/IPython.

However there was no release to Package Control for some time now, since I switched to Sublime Text 3 and Linux in march. This is mostly because ST2 (python2) -> St3 (python3) port dropped some functions, and compatibility with OSX & Windows isn't 'production ready' yet. I'm afraid to release current code to everyone, as it'll most definitely not work for some people.

To cut the long story short. SublimeREPL version available in Package Control is stable but out of date. SublimeREPL from git master is used daily by me and several other people, but I test it only on Linux.

Will Bond is planning to roll out new version of Package Control soon (https://twitter.com/wbond/status/334753348018388992). It will allow me to target specific versions of SublieText with different code, and roll out new code separately for compatible platforms.

On a related note: SublimePTY was not updated for a very long time and its future is uncertain at best.

When I did a search, the first Google result took me to the Sublime Forums, where this thread says "IPython is working on Windows for some time now".

So, It seems like you just need a newer version of Sublime Text and/or SublimeREPL.

Alternatively, as the SublimeREPL FAQ says:

  1. Is this a terminal emulator?

No. Shell (cmd.exe/bash) REPL can be used for simple tasks (file creation, git init etc.) but anything terminal like (mc, ipython, vim) will not work! SublimeREPL has a sister project: SublimePTY that aims to bring real terminal emulator to SublimeText2.

That seems a little out of date, but you can try SublimePTY anyway.

Finally, it looks like the author of SublimeREPL follows the Sublime Forum pretty closely, and in fact a large chunk of the forum seems to be devoted to plugins. So, you will probably do better asking there, rather than here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top