Home Download Buy Blog Forum Support

How to install Package Control in ST3?

How to install Package Control in ST3?

Postby edge07 on Tue Jan 29, 2013 7:25 am

I recently installed Sublime Text 3 and also transferred the user directory from ST2, but now all the Packages lack (of course). So I wanted to install Package Control in Sublime Text 3, but it doesn't work. I always get the error:
" File "<string>", line 1
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'
^
SyntaxError: invalid syntax"

Or is Package Control not yet ready for Sublime Text 3? Because without it ST3 is pretty useless so far.
edge07
 
Posts: 2
Joined: Tue Jan 29, 2013 7:20 am

Re: How to install Package Control in ST3?

Postby skuroda on Tue Jan 29, 2013 7:38 am

I wouldn't be surprised if a number of the packages (including package control) were broken now as ST3 has moved from Python 2.6 to Python 3.3. So it'll be a little while before everything is ported over. Remember, patience is a virtue. :D
skuroda
 
Posts: 685
Joined: Fri Oct 05, 2012 8:11 am

Re: How to install Package Control in ST3?

Postby wbond on Tue Jan 29, 2013 7:57 am

I started prepping for st3 a bit ago with https://github.com/wbond/sublime_packag ... lit_source. There is still a bit more to do though. Plus individual packages have to be updated.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: How to install Package Control in ST3?

Postby edge07 on Tue Jan 29, 2013 3:32 pm

Thanks for your help Will! Hope Package Control will soon be ready for ST3, because like I said before with it it's pretty useless.
edge07
 
Posts: 2
Joined: Tue Jan 29, 2013 7:20 am

Re: How to install Package Control in ST3?

Postby johnnysainz on Wed Jan 30, 2013 4:53 am

Followed the testing version (manual install) steps here: http://wbond.net/sublime_packages/packa ... stallation
Restarted ST3 but Package Control options are not available in the Command Palette for me. Looking forward!!

Thanks for all the work, Mr. Bond!
johnnysainz
 
Posts: 1
Joined: Wed Jan 30, 2013 4:49 am

Re: How to install Package Control in ST3?

Postby wbond on Wed Jan 30, 2013 5:01 pm

http://wbond.net/sublime_packages/packa ... lation#ST3

Looks like there may be no _ssl module on Windows, which mean only non-SSL sources will work for now.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: How to install Package Control in ST3?

Postby adam.b.johnson1 on Thu Feb 07, 2013 7:29 am

For the interested parties (or those having trouble installing Package Control Alpha in Sublime Text 3 on Windows), I wrote a quick how to:

Getting Package Control alpha Working with Sublime Text 3 on Windows

Enjoy and hat tip to Will for making Package Control!
adam.b.johnson1
 
Posts: 1
Joined: Thu Feb 07, 2013 7:25 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 12 guests