Just ran into this really random error in Sublime Text 2 with input() and EOF
http://www.bestpythonide.com/python-input-eoferror-in-sublime-text-2.html
https://packagecontrol.io/installation#Simple

seen from United States
seen from United States
seen from United Kingdom
seen from Germany
seen from Italy
seen from Netherlands
seen from Brazil

seen from Canada
seen from Germany
seen from Canada

seen from United States
seen from China
seen from United States
seen from South Africa

seen from Türkiye
seen from United States
seen from China
seen from China

seen from Russia

seen from Türkiye
Just ran into this really random error in Sublime Text 2 with input() and EOF
http://www.bestpythonide.com/python-input-eoferror-in-sublime-text-2.html
https://packagecontrol.io/installation#Simple
Setting up SublimeREPL's Pry Ruby CLI in Sublime Text 2 with bug workaround
tldr: Setup Ruby's IRB or Pry CLI in Sublime 2 using SublimeREPL by following these install guides for SublimeREPL, Pry, then implement the workaround below to get it working correctly.
There's a bug in SublimeREPL which prevents the any version of Pry > 10.0 from working correctly in Sublime 2. Applying these changes locally to SublimeREPL's config file for Pry and restarting ST2 allowed the Pry CLI to function correctly in Sublime 2.
Full version:
I wanted to have syntax highlighting in the Ruby IRB and began looking at how to do this. Then it occurred to me that ST2 has command line interface (CLI) capabilities and I could set ST2 to run the CLI for Ruby and other languages and I wouldn't have to drop out of ST2 to the terminal to access the IRB.
I found that SublimeREPL (docs) is the currently preferred ST2 package to add this functionality to Sublime.
After running through the instructions, an IRB CLI was indeed available through ST2, however, along my journey there were many posts about using Pry as the CLI for Ruby as it added a "number of advanced features" that the IRB did not. So I went about setting Pry up and getting it working in Sublime.
This is where I ran into a bit of a snag...
I saw this error (in ST2) when Pry wouldn't launch correctly in ST2:
/Users/phyman/Library/Application Support/Sublime Text 2/Packages/SublimeREPL/config/Ruby/pry_repl.rb:37:in `<main>': uninitialized constant Pry::InputCompleter (NameError)
Digging into it I found that there is a bug in SublimeREPL that was causing Pry to not load/work correctly in ST2. Some suggested downgrading Pry which I did, but it just didn't feel right. Then took a look at the pull request for the fix, found it wasn't merged yet and followed it through to the file changes.
I then opened up my local SublimeREPL /config/Ruby/pry_repl.rb file and made the changes and updated the file myself.
After restarting ST2, I could now invoke the Pry CLI from within Sublime 2 with no errors and the CLI was working as expected!