Skip to content

[macOS] JupyterLab desktop doesn't allow/request permission to access the camera #667

Open
@tkmfujise

Description

@tkmfujise

Description

When I run code that access the camera, JupyterLab desktop seems like doesn't request permission to access the camera.

If it try to have permission, a dialog asking for permission will appear and "JupyterLab" will shown in the Mac permissions (Security & Privacy -> Privacy -> Camera). But I have not seen that.

Reproduce

  1. Open Python3 notebook
  2. Run next code in a cell
import cv2
cv2.VideoCapture(0)
  1. I got a next error

Kernel Restarting
The kernel for python/Untitled1.ipynb appears to have died. It will restart automatically.

image

Expected behavior

When code that needs access a media device run, JupyterLab try to have permission to access the device.

similar issue (VSCode)
microsoft/vscode#95062

Context

  • Operating System and version: macOS Ventura 13.4
  • JupyterLab-Desktop version: 4.0.1-1
  • Installer: macOS-arm64.dmg

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugos:macosIssues specific to macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions