Skip to content

Run python3 usb_camera.py -c 0 #12

@ThanhPham1987

Description

@ThanhPham1987

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions