Error Messages:
Exception in thread Thread-3:
Traceback (most recent call last):
File "/home/comz/anaconda3/envs/arcface/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/home/comz/anaconda3/envs/arcface/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "usb_camera.py", line 140, in <lambda>
Process(target=lambda: asyncio.run(upload_loop())).start()
File "/home/comz/anaconda3/envs/arcface/lib/python3.7/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/home/comz/anaconda3/envs/arcface/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "usb_camera.py", line 51, in upload_loop
await sio.connect(url)
File "/home/comz/anaconda3/envs/arcface/lib/python3.7/site-packages/socketio/asyncio_client.py", line 117, in connect
raise exceptions.ConnectionError(exc.args[0]) from None
socketio.exceptions.ConnectionError: OPEN packet not returned by server
Solution:
pip install python-engineio==3.14.2 python-socketio==4.6.0
Read More:
- Python PIP TypeError: expected str, bytes or os.PathLike object, not int
- visdom Install and Run Error: raise Connectionerror [How to Solve]
- [Solved] PyTorch Caught RuntimeError in DataLoader worker process 0和invalid argument 0: Sizes of tensors mus
- [Solved] TypeError: xx takes 1 positional argument but 4 were given
- [Solved] Python matplotlib Error: RuntimeError: In set_size: Could not set the fontsize…
- [Solved] bert_as_service startup error: Tensorflow 2.1.0 is not tested!
- [Mac Pro M1] Python3.9 import cv2 Error: Reason: image not found
- [Solved] django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.Did you install mysqlclie
- [Solved] RuntimeError: ProcessGroupNCCL is only supported with GPUs, no GPUs found
- AttributeError: can‘t set attribute [How to Solve]
- Pytorch ValueError: Expected more than 1 value per channel when training, got input size [1, 768
- Python asynchronous execution library asyncio
- How to Solve Python Importerror: DLL load failed: unable to find the specified program using tensorflow
- [Solved] python tqdm raise RuntimeError(“cannot join current thread“) RuntimeError: cannot join current thr
- [Solved] mmdetection benchmark.py Error: RuntimeError: Distributed package doesn‘t have NCCL built in
- Django Issues: TypeError: “Settings” object is irreversible
- [Solved] Paramiko error: AttributeError: ‘NoneType’ object has no attribute ‘time’
- urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=‘localhost‘, port=8097): Max retries excee
- [Solved] lto1: fatal error: bytecode stream..generated with LTO version 6.2 instead of the expected 8.1 compi
- [example multitasking] Python multithreading module