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

Run python3 usb_camera.py -c 0 #12

Open
ThanhPham1987 opened this issue Nov 12, 2019 · 1 comment
Open

Run python3 usb_camera.py -c 0 #12

ThanhPham1987 opened this issue Nov 12, 2019 · 1 comment

Comments

@ThanhPham1987
Copy link

Hi 1996,
When I run command line: python3 usb_camera.py -c 0
I have an issue like this:

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "usb_camera.py", line 138, in
Process(target=lambda: asyncio.run(embedding_loop(preload))).start()
AttributeError: module 'asyncio' has no attribute 'run'

Traceback (most recent call last):
File "usb_camera.py", line 141, in
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "usb_camera.py", line 139, in
Process(target=lambda: asyncio.run(detection_loop(preload))).start()
AttributeError: module 'asyncio' has no attribute 'run'

Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "usb_camera.py", line 140, in
Process(target=lambda: asyncio.run(upload_loop())).start()
AttributeError: module 'asyncio' has no attribute 'run'

asyncio.run(camera_loop(preload))

AttributeError: module 'asyncio' has no attribute 'run'

PLEASE GIVE ME SOME ADVICE!!
THANK YOU VERY MUCH!

Best regards,
PeterPham

@1996scarlet
Copy link
Owner

Maybe you could try python3.7 or just remove all async module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants