Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tkmfujise opened this issue Jun 10, 2023 · 1 comment
Labels
bug os:macos Issues specific to macOS

Comments

@tkmfujise
Copy link

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
@welcome
Copy link

welcome bot commented Jun 10, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug os:macos Issues specific to macOS
Projects
None yet
Development

No branches or pull requests

2 participants