Sublime Forum

How to install Package Control in ST3?

#1

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 “”, 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.

0 Likes

#2

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. :smiley:

0 Likes

#3

I started prepping for st3 a bit ago with github.com/wbond/sublime_packag … lit_source. There is still a bit more to do though. Plus individual packages have to be updated.

0 Likes

#4

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.

0 Likes

#5

Followed the testing version (manual install) steps here: 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!

0 Likes

#6

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.

0 Likes

#7

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!

0 Likes