steep-balloon-41261
10/16/2023, 2:30 PMacoustic-engineer-41666
10/16/2023, 2:31 PMglamorous-greece-95967
10/16/2023, 2:32 PMglamorous-greece-95967
10/16/2023, 2:33 PM┗ # docker run -ti python:3.8 bash
root@7dba7d5df541:/# pip install livekit
Collecting livekit
Downloading livekit-0.4.6-py3-none-manylinux_2_28_x86_64.whl (7.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.3/7.3 MB 3.9 MB/s eta 0:00:00
Collecting protobuf>=3.1.0
Downloading protobuf-4.24.4-cp37-abi3-manylinux2014_x86_64.whl (311 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 311.6/311.6 kB 4.8 MB/s eta 0:00:00
Collecting types-protobuf>=3.1.0
Downloading types_protobuf-4.24.0.2-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.0/62.0 kB 4.5 MB/s eta 0:00:00
Collecting pyee>=11.0.0
Downloading pyee-11.0.1-py3-none-any.whl (15 kB)
Collecting typing-extensions
Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Installing collected packages: types-protobuf, typing-extensions, protobuf, pyee, livekit
Successfully installed livekit-0.4.6 protobuf-4.24.4 pyee-11.0.1 types-protobuf-4.24.0.2 typing-extensions-4.8.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: <https://pip.pypa.io/warnings/venv>
[notice] A new release of pip is available: 23.0.1 -> 23.3
[notice] To update, run: pip install --upgrade pip
root@7dba7d5df541:/# python
Python 3.8.18 (default, Oct 12 2023, 10:33:20)
[GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import livekit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.8/site-packages/livekit/__init__.py", line 31, in <module>
from .audio_frame import AudioFrame
File "/usr/local/lib/python3.8/site-packages/livekit/audio_frame.py", line 17, in <module>
from ._ffi_client import FfiHandle, ffi_client
File "/usr/local/lib/python3.8/site-packages/livekit/_ffi_client.py", line 25, in <module>
from ._utils import Queue
File "/usr/local/lib/python3.8/site-packages/livekit/_utils.py", line 27, in <module>
class Queue(asyncio.Queue[T]):
TypeError: 'type' object is not subscriptable
>>>glamorous-greece-95967
10/16/2023, 2:35 PMacoustic-engineer-41666
10/16/2023, 2:39 PMacoustic-engineer-41666
10/17/2023, 3:28 PMglamorous-greece-95967
10/18/2023, 6:56 AM