Skip to content

Homebrew: unable to install package #52

Description

@stariy95

Tried to install JJava with homebrew, and got this:

==> jupyter kernelspec install /private/tmp/jjava-20241015-59889-g6si40 --config=/private/tmp/jjava-20241015-59889-g6si40/kernel.json --sys-pref
Last 15 lines from /Users/ntimofeev/Library/Logs/Homebrew/jjava/01.kernel.json:
 File "/opt/homebrew/Cellar/jupyterlab/4.2.5_1/libexec/lib/python3.12/site-packages/jupyter_client/kernelspecapp.py", line 337, in start
  return self.subapp.start()
      ^^^^^^^^^^^^^^^^^^^
 File "/opt/homebrew/Cellar/jupyterlab/4.2.5_1/libexec/lib/python3.12/site-packages/jupyter_client/kernelspecapp.py", line 152, in start
  self.kernel_spec_manager.install_kernel_spec(
 File "/opt/homebrew/Cellar/jupyterlab/4.2.5_1/libexec/lib/python3.12/site-packages/jupyter_client/kernelspec.py", line 406, in install_kernel_spec
  shutil.copytree(source_dir, destination)
 File "/opt/homebrew/Cellar/python@3.12/3.12.7_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/shutil.py", line 600, in copytree
  return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/opt/homebrew/Cellar/python@3.12/3.12.7_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/shutil.py", line 498, in _copytree
  os.makedirs(dst, exist_ok=dirs_exist_ok)
 File "<frozen os>", line 215, in makedirs
 File "<frozen os>", line 225, in makedirs
PermissionError: [Errno 1] Operation not permitted: '/opt/homebrew/Cellar/jupyterlab/4.2.5_1/libexec/share/jupyter/kernels'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions