python-3.ximporterrorsublimetext3package-control

Package Control no module named package_control.add_repository_channel_command


I've updated to the most recent version of Package Control for Sublimetext 3 via Git, but none of the commands work. The menu items are still present, strangely enough. When I open the log with Ctrl+`, I see this error:

ImportError: No module named 'Package Control.package_control.add_repository_channel_command'

How can I get it to work again?


Solution

  • Apparently the Package Control .sublime-package file is outdated, and in this case, referencing a python module that has been moved to a different python package (from package_control to package_control.commands).

    This can be easily fixed by deleting Installed Packages/Package Control.sublime-package.