noahcoad / google-spell-check

Uses Google Search spelling magic to fix words or phrases for Sublime Text.
121 stars 18 forks source link

ImportError: No module named 'urllib2' #12

Open vanrijn opened 10 years ago

vanrijn commented 10 years ago

I'm running Sublime Text 3 build 3059 and I just installed Google Spell Check and I see this error in the console view:

reloading plugin Google Spell Check.google-spell-check Traceback (most recent call last): File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 73, in reload_plugin m = importlib.import_module(modulename) File "X/importlib/init.py", line 88, in import_module File "", line 1577, in _gcd_import File "", line 1558, in _find_and_load File "", line 1525, in _find_and_load_unlocked File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 671, in load_module exec(compile(source, source_path, 'exec'), mod.dict) File "google-spell-check in /Users/ME/Library/Application Support/Sublime Text 3/Installed Packages/Google Spell Check.sublime-package", line 4, in ImportError: No module named 'urllib2'

noahcoad commented 10 years ago

How strange. urllib2 is not anywhere in the ST3 branch of the code. How did you install the package? Did you use git clone or install from Sublime Package Control?

vanrijn commented 10 years ago

Hey Noah, I installed it through sublime package control.

-[ Jason 'vanRijn' Kasper // http://movingparts.net ]- -[ KDE PIM Developer // http://www.kde.org ]- -[ bash fun -> :(){ :|:&};: // Numbers 6:22-26 ]-

On Apr 10, 2014, at 3:51, Noah Coad notifications@github.com wrote:

How strange. urllib2 is not anywhere in the ST3 branch of the code. How did you install the package? Did you use git clone or install from Sublime Package Control?

— Reply to this email directly or view it on GitHub.

evandrocoan commented 7 years ago

I was on the branch master, which contains some unknown version. Switched to the branch st3 fixed the problem.