wbond / package_control

The Sublime Text package manager
https://packagecontrol.io
4.79k stars 815 forks source link

[four-point-oh] `events` module not available for py33 when PC is packed #1642

Closed deathaxe closed 1 year ago

deathaxe commented 1 year ago

If Package Control.sublime-package is used, python 3.3 plugins can't import events module.

from package_control import events

throws

Traceback (most recent call last):
  File "<ST>\Lib\python33\sublime_plugin.py", line 528, in on_api_ready
    plc()
  File "<ST>\Data\Installed Packages\ayu.sublime-package\Icons.py", line 67, in plugin_loaded
    from package_control import events
  File "<ST>\Data\Lib\python33\package_control.py", line 63, in <module>
    exec(__code, __data)
  File "__init__.py", line 1, in <module>
ImportError: cannot import name events