Sublime Forum

Startup errors with python modules

#1

Why do I get this error during ST startup in windows? I already have the module installed in C:\Program Files\Python38\Lib\site-packages. Also I tried to reinstall the package “AutoSetSyntax” but didn’t help.

Traceback (most recent call last):
File “C:\Program Files\Sublime Text\Lib\python38\sublime_plugin.py”, line 325, in reload_plugin
m = importlib.import_module(modulename)
File “./python3.8/importlib/init.py”, line 127, in import_module
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 868, in exec_module
File “”, line 219, in _call_with_frames_removed
File “C:\Users\username\AppData\Roaming\Sublime Text\Installed Packages\AutoSetSyntax.sublime-package\boot.py”, line 15, in
File “C:\Users\username\AppData\Roaming\Sublime Text\Installed Packages\AutoSetSyntax.sublime-package\plugin/init.py”, line 12, in
File “C:\Users\username\AppData\Roaming\Sublime Text\Installed Packages\AutoSetSyntax.sublime-package\plugin/commands/init.py”, line 3, in
File “C:\Users\username\AppData\Roaming\Sublime Text\Installed Packages\AutoSetSyntax.sublime-package\plugin/commands/auto_set_syntax.py”, line 12, in
File “C:\Users\username\AppData\Roaming\Sublime Text\Installed Packages\AutoSetSyntax.sublime-package\plugin/helpers.py”, line 9, in
File “C:\Users\username\AppData\Roaming\Sublime Text\Installed Packages\AutoSetSyntax.sublime-package\plugin/settings.py”, line 10, in
ModuleNotFoundError: No module named ‘more_itertools’

Also Package Control error for some modules which are already installed:

Package Control: Installing 6 libraries…
Package Control: Unable to download “eval-type-backport”: (errno 12045) during HTTP write phase of downloading https://files.pythonhosted.org/packages/ce/31/55cd413eaccd39125368be33c46de24a1f639f2e12349b0361b4678f3915/eval_type_backport-0.2.2-py3-none-any.whl.
Package Control: Unable to download “more-itertools”: (errno 12045) during HTTP write phase of downloading https://files.pythonhosted.org/packages/48/7e/3a64597054a70f7c86eb0a7d4fc315b8c1ab932f64883a297bdffeb5f967/more_itertools-10.5.0-py3-none-any.whl.
Package Control: Unable to download “pydantic”: (errno 12045) during HTTP write phase of downloading https://files.pythonhosted.org/packages/f4/3c/8cc1cc84deffa6e25d2d0c688ebb80635dfdbf1dbea3e30c541c8cf4d860/pydantic-2.10.6-py3-none-any.whl.
Package Control: Unable to download “pydantic-core”: (errno 12045) during HTTP write phase of downloading https://files.pythonhosted.org/packages/aa/6d/df49c17f024dfc58db0bacc7b03610058018dd2ea2eaf748ccbada4c3d06/pydantic_core-2.27.2-cp38-cp38-win_amd64.whl.
Package Control: Unable to download “annotated-types”: (errno 12045) during HTTP write phase of downloading https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl.
Package Control: Unable to download “typing-extensions”: (errno 12045) during HTTP write phase of downloading https://files.pythonhosted.org/packages/26/9f/ad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0/typing_extensions-4.12.2-py3-none-any.whl.

0 Likes

#2

C:\Program Files\Python38\Lib\site-packages

ST libraries must be installed into C:\Program Files\Python38\Lib\.
A site-packages folder is not supported.

12045

Indicates that a certificate chain was processed, but terminated in a root certificate that is not trusted by the trust provider (equivalent to CERT_E_UNTRUSTEDROOT ).

Error 12045 inidicates that no trusted connection can be established to packagecontrol.io. That’s most likely caused by untrusted proxies or network antivirus appliances, which break TLS connections.

That’s nothing caused by ST or Package Control

0 Likes