Closed dujeong closed 5 months ago
I found target_arch
in rust-sdks/download_ffi.py (https://github.com/livekit/rust-sdks/blob/main/download_ffi.py)
def target_arch():
arch = platform.machine().lower()
arch_mapping = {
"amd64": "x86_64",
"x86_64": "x86_64",
"arm64": "arm64",
"aarch64": "arm64",
"armv7": "armv7",
"armv7l": "armv7",
}
There is no armv8 here...
Hey, which OS are you using?
You're trying to use an older version: livekit-0.4.6 Can you try with the latest?
I'm using Ubuntu 20.04
I checked livekit version, and the latest version is 0.8.0
currently.
So I tried that version, but some error occured.
$ pip install livekit==0.8.0
ERROR: Could not find a version that satisfies the requirement livekit==0.8.0 (from versions: 0.0.1, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.2, 0.2.3, 0.2.5, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.5, 0.4.6)
ERROR: No matching distribution found for livekit==0.8.0
Fianlly, I installed livekit latest version(0.8.0) manually.. Thank you a lot!
After manual installation, I encountered importing error like below.
>>> from livekit import api, rtc
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'rtc' from 'livekit' (unknown location)
The version tested on my laptop was 0.7.1
, so I changed the version. (0.8.8
-> 0.7.1
)
Because version 0.7.1
worked well on my laptop.
Laptop OS is Linux Mint 21 which is based on Ubuntu 22.04
However, livekit is still not imported on the device(NVIDIA Orin jetpack5 based on Ubuntu 20.04).
Livekit-related library version information:
$ pip list|grep livekit
livekit 0.7.1
livekit-api 0.4.1
livekit-protocol 0.3.1
Are there any specific livekit versions available for each OS version?
please install the latest version.. 0.8.0. we are unable to support older versions of the software.
okay. I tried again version 0.8.0
. But again error..
>>> from livekit import api, rtc
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'rtc' from 'livekit' (unknown location)
Livekit-related library version information:
$ pip list|grep live
livekit 0.8.0
livekit-api 0.4.1
livekit-protocol 0.3.1
I think python version is the problem.
Python3 version is 3.8.10
.
Python 3.8 is supported before version 0.4.6
..
I made a python virtual environment and tested in it. It worked well in Python3.9! Also, the livekit version was well installed at 0.8.0.
Thanks for confirming. Yes, we require Python 3.9 or higher.
I failed to install livekit on ARMv8 processor. (model name : ARMv8 Processor rev 1 (v8l)) Livekit python SDK doesn't support ARMv8 processor? I commanded
pip install livekit
, and below error logs were printed..