question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] {ImportError: cannot import name 'SyncedPreviewManager'}

See original GitHub issue

Hi Folks,

When I run python3 depthai_demo.py I get the following error: ImportError: cannot import name 'SyncedPreviewManager' from 'depthai_sdk.managers' (/usr/local/lib/python3.9/site-packages/depthai_sdk/managers/__init__.py) Running MacOS 12.1 on x86_64

To Reproduce Steps to reproduce the behavior:

  1. Install as per instruction https://docs.luxonis.com/
  2. Run script python3 depthai_demo.py
  3. See error

Log: log_system_information.json.txt

Thanks!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
AntonyLeonscommented, Jan 24, 2022

I also have this bug, on a intel mac and python 3.9.10 using python3.8 however resolved this

1reaction
LukeyBrowncommented, Feb 5, 2022

Sorry about the delay getting back to you, one of those weeks. I’ve just pulled the latest update and all is working! Champion, thanks for your help @VanDavv

Read more comments on GitHub >

github_iconTop Results From Across the Web

cannot import name 'int_classes' from 'torch._six ...
Easiest solution would be to just set int_classes = int instead of importing it from _six .
Read more >
pep8 jobs failing with ImportError: cannot import name ' ...
pep8 jobs failing with ImportError: cannot import name 'render_group' from 'rich.console'. Bug #1956902 reported by Rabi Mishra on 2022-01- ...
Read more >
depthai_demo.py · OAKChina/depthai
print('[ERROR] IR drivers not detected on device!') if self._conf.useCamera: pvClass = SyncedPreviewManager if self._conf.args.sync else PreviewManager.
Read more >
1926090 – python-tabulate fails to build with Python 3.10
ERROR Failure: ImportError (cannot import name 'Iterable' from 'collections' (/usr/lib64/python3.10/collections/__init__.py)) ... ERROR Failure: ImportError ...
Read more >
mach install fails with: cannot import name _psutil_linux
mach install Error running mach: ['install'] The error occurred in code that was called by the mach command. This is either a bug...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found