Sublime Forum

Can't install with package control

#1

On sublime 4 when installing (either manually or automatically) package control, there is no dropdown menu under “Package Control:” when pressing ⌘ + ⇧ + P (or Preferences - Package Control)

There is no way to install anything from here:

49

Machine: Mac Os Monterey 12.4

tartup, version: 4126 osx arm64 channel: stable
executable: /Applications/Sublime Text.app/Contents/MacOS/sublime_text
application: /Applications/Sublime Text.app
working dir: /
packages path: /Users/alejandrocampos/Library/Application Support/Sublime Text/Packages
state path: /Users/alejandrocampos/Library/Application Support/Sublime Text/Local
zip path: /Applications/Sublime Text.app/Contents/MacOS/Packages
zip path: /Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages
ignored_packages: [“Vintage”]
pre session restore time: 0.199552
OpenGL Context Information:
GL API Version: 4.1 Metal - 76.3
GLSL Version: 4.10
Vendor: Apple
Renderer: Apple M1
startup time: 0.247635
first paint time: 0.251802
environment variables loaded using: /opt/homebrew/bin/bash -l
reloading python 3.3 plugin Package Control.1_reloader
reloading plugin Default.arithmetic
reloading python 3.3 plugin Package Control.2_bootstrap
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.html_print
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.keymap
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin ShellScript.ShellScript
Traceback (most recent call last):
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 308, in reload_plugin
m = importlib.import_module(modulename)
File “./python3.3/importlib/init.py”, line 90, in import_module
File “”, line 1584, in _gcd_import
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/2_bootstrap.py”, line 26, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/bootstrap.py”, line 20, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/download_manager.py”, line 24, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/downloaders/init.py”, line 20, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/downloaders/oscrypto_downloader.py”, line 44, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/tls.py”, line 11, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_mac/tls.py”, line 39, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_mac/util.py”, line 208, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto.py”, line 15, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto_ctypes.py”, line 30, in
File “./python3.3/ctypes/init.py”, line 353, in init
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: ‘/usr/local/lib/libcrypto.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/usr/local/lib/libcrypto.1.1.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’))
reloading python 3.3 plugin Package Control.Package Control
Traceback (most recent call last):
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 308, in reload_plugin
m = importlib.import_module(modulename)
File “./python3.3/importlib/init.py”, line 90, in import_module
File “”, line 1584, in _gcd_import
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/Package Control.py”, line 89, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/commands/init.py”, line 3, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/commands/advanced_install_package_command.py”, line 10, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/package_manager.py”, line 34, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/downloaders/init.py”, line 20, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/downloaders/oscrypto_downloader.py”, line 44, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/tls.py”, line 11, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_mac/tls.py”, line 39, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_mac/util.py”, line 208, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto.py”, line 15, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/alejandrocampos/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto_ctypes.py”, line 30, in
File “./python3.3/ctypes/init.py”, line 353, in init
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: ‘/usr/local/lib/libcrypto.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/usr/local/lib/libcrypto.1.1.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’))
plugins loaded

0 Likes

#2

Package Control relies on openssl (libcrypto), but it appears no arm64 variant is available on your system.

There are some comments about the topic at https://github.com/wbond/package_control/issues/1612 which may probably help.

1 Like