benschwarz / sublime-bower

Install Bower packages from within Sublime
MIT License
226 stars 12 forks source link

Not working in ST3 #7

Closed kmmathis closed 11 years ago

kmmathis commented 11 years ago

I have Bower installed globally, and installed the plugin through the package manager. The Bower command is not showing up for me on Sublime Text 3 on OSX. I get this error in the console on ST3 startup:

reloading plugin Bower.Bower Traceback (most recent call last): File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 72, in reload_plugin m = importlib.import_module(modulename) File "X/importlib/__init__.py", line 88, in import_module File "<frozen importlib._bootstrap>", line 1577, in _gcd_import File "<frozen importlib._bootstrap>", line 1558, in _find_and_load File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked File "/Users/korymathis/Library/Application Support/Sublime Text 3/Installed Packages/Bower.sublime-package/Bower.py", line 8, in <module> ImportError: No module named 'urllib2'

I can verify that urllib2 is installed on my computer. It works just fine through the python shell in terminal.

benschwarz commented 11 years ago

Thanks for the bug report—I'll look into it.

On Tuesday, 2 April 2013 at 4:08 AM, Kory Mathis wrote:

I have Bower installed globally, and installed the plugin through the package manager. The Bower command is not showing up for me on Sublime Text 3 on OSX. I get this error in the console on ST3 startup: reloading plugin Bower.Bower Traceback (most recent call last): File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 72, 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 "/Users/korymathis/Library/Application Support/Sublime Text 3/Installed Packages/Bower.sublime-package/Bower.py", line 8, in ImportError: No module named 'urllib2'
I can verify that urllib2 is installed on my computer. It works just fine through the python shell in terminal.

— Reply to this email directly or view it on GitHub (https://github.com/benschwarz/sublime-bower/issues/7).

benschwarz commented 11 years ago

At this point, I still have no idea.

@eonlepapillon has opened a pull request to work on the beginnings of getting this to work in ST3, so I'll close this issue and track along on #8.