- Edited
I have similar issue trying to install livekit https://github.com/livekit/python-sdks
(env) [opal_username@opal4 ~]$ pip install livekit
Collecting livekit
Using cached livekit-0.12.1.tar.gz (67 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
Traceback (most recent call last):
File "/home/opal_username/apps/app_name/env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/opal_username/apps/app_name/env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/opal_username/apps/app_name/env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-yzwfq3vf/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-yzwfq3vf/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-yzwfq3vf/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 313, in run_setup
exec(code, locals())
File "<string>", line 22, in <module>
ImportError: cannot import name 'get_platform' from 'wheel.bdist_wheel' (/tmp/pip-build-env-yzwfq3vf/overlay/lib/python3.12/site-packages/wheel/bdist_wheel.py)
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I've downloaded the livekit python setup files into ~/opt/src but not sure what to do from here as it doesn't have the configure file.
I also tried to install without wheel but running into issue with
OSError: /lib64/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /home/opal_username/opt/src/livekit-0.12.1/livekit/rtc/resources/liblivekit_ffi.so)
what would be easiest way to install this python module on Opalstack?