package_control icon indicating copy to clipboard operation
package_control copied to clipboard

ST3: ImportError: No module named 'package_control' 2019

Open SakisHous opened this issue 5 years ago • 2 comments

I have an issue with ST3 and package_control. I copied and pasted the script from https://packagecontrol.io/installation#st3 . Although, when I try to install a package I get the errors

Traceback (most recent call last):
  File "C:\Sublime Text 3\Installed Packages\Package Control.sublime-package\package_control/package_installer.py", line 154, in on_done
  File "C:\Sublime Text 3\Installed Packages\Package Control.sublime-package\package_control/package_disabler.py", line 76, in disable_packages
ImportError: No module named 'package_control'

There are many threads with the same issue but I have not understood the solution yet.

SakisHous avatar Apr 20 '19 18:04 SakisHous

Please post the entire content of ST's console.

FichteFoll avatar Apr 24 '19 17:04 FichteFoll

Sorry for the bad response. First, I try to install the package control from the https://packagecontrol.io/installation website. I open the console and paste the script. I receive 286331.

SakisHous avatar May 10 '19 17:05 SakisHous

The only known reason for this issue to happen is removing 'Package Control' package from python's sys.modules. Maybe caused by earlier versions of AutmaticPackageReloader.

deathaxe avatar Oct 07 '22 16:10 deathaxe