42

I am using Sublime Text 2 for Mac. I have installed the Package Control for Sublime Text 2, following the instructions from https://sublime.wbond.net/installation#st2 without any trouble. However, when I open up Ctrl+Shif+P to search for available packages, it does not show any.

See the image screenshot here

Do you have any solutions for it? I try restart Sublime but it doesn't solve the problem.

John
  • 2,445
  • 2
  • 17
  • 25
phanatuan
  • 495
  • 1
  • 5
  • 14
  • It appears that it didn't install *without any trouble*. On osx, it's command + shift + p. You haven't provided enough information to allow anyone to help you. – AGS Jan 30 '14 at 11:47
  • Also check the ST console for errors when you restart ST. If there are any, please include those in your question. – skuroda Jan 30 '14 at 20:15
  • It look like I did not properly restart the Sublime Text. When I turn off my Mac and open it again, the Package Control list showed up. Thank you for your help. – phanatuan Jan 31 '14 at 15:47

5 Answers5

92

Take a look in your user Preferences.sublime-settings and remove the Package Control from the "ignored_packages" list if it is there.

If you use a Linux based system, you may have to check permissions of /home/user/.config/sublime-text-3. Check if the directory is owned by your user. If not, change the owner user for that directory.

On Mac OS, Sublime Text (menu) -> Settings. How to access sublime settings on MAC OS

John
  • 2,445
  • 2
  • 17
  • 25
alfakini
  • 4,635
  • 2
  • 26
  • 35
  • 1
    I don't know if this is a bug. It usually happens when I restore my Sublime Text's preferences backup copying the files to ST's User folder. – alfakini Mar 13 '15 at 13:25
  • 6
    I have no idea how it got into my `ignored_packages`, but it was there! (I'm using Sublime Text 3) – Farzher Mar 13 '15 at 20:12
  • 4
    What the *#$? How did that get into my user settings? Thanks, it worked. – Gillespie Nov 12 '16 at 18:06
  • 3
    @alfakini Can you mention in your answer how to find "Preferences.sublime-settings"? – K.K Jan 24 '17 at 08:47
  • "Preferences.sublime-settings" is in Packages/User/. Open the file up and delete the line that says "Package Control" – stcho Jul 18 '17 at 18:56
  • you can go to "Preferences.sublime-settings" by clicking "Preferences" tab then "Settings". – Janaka Pushpakumara Sep 07 '17 at 05:22
  • 1
    @alfakini please add in answer. if you use Linux based system you may have to check permission table of your /home/[USER]/.config/sublime-text-3 check it all directory is own by your current USER. if not change USER for that directory. – chudasamachirag Feb 23 '18 at 06:45
3

Click the Preferences > Browse Packages and check whether Package control file is there or not.

You can manually put package control file there by downloading it from here and get rid of issues.

Mithlesh Kumar
  • 748
  • 7
  • 16
2

I had the same problem. I had to restart my computer to properly reset Sublime Text 2. It seems from your comment that you also got the Package Control list to show up after restarting your computer.

Your screenshot image is currently broken, but make sure you have the zipfile "Package Control.sublime-package" in the Installed Packages directory.

moue
  • 166
  • 1
  • 7
0

Open the console and run this command:

curl http://sublime.wbond.net/Package%20Control.sublime-package -o ~/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages/Package\ Control.sublime-package

Then restart sublime.

See this issue: https://github.com/wbond/sublime_package_control/issues/652

Ilan Frumer
  • 32,059
  • 8
  • 70
  • 84
0

If @alfakini's answer (accepted answer) does not work for you. The issue could be related to openssl 3 causing import issues in newer versions of Mac OS (Big Sur and above) based on https://github.com/wbond/package_control/issues/1612.

Running the below line in my terminal fixes the issue for me:

ln -sf /usr/local/Cellar/openssl@1.1/1.1.1o/lib/libcrypto.dylib /usr/local/lib/

Hope this helps others as well.

John
  • 2,445
  • 2
  • 17
  • 25