9  
查询码: 00000129
安装ixstream报错
专家 作者: 李亚东 于 2024年12月31日 ,于 2025年05月14日 编辑

(hwkj) root@saas-de-hwkj-hwkj-mr100x4-8fb3-b649544fb-ct7cx:~/py3.10# pip install pyixstream-1.0.5-py3.10-none-linux_x86_64.whl
Processing ./pyixstream-1.0.5-py3.10-none-linux_x86_64.whl
Collecting pgi (from pyixstream==1.0.5)
Using cached https://mirrors.aliyun.com/pypi/packages/ed/92/60411ba83f86fa128932466e7ffc86d806d075da64c04d6d45c99a08f4dc/pgi-0.0.11.2.tar.gz (239 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-h02jbxrr/pgi_0226537944d143c2a3c465eef28c8ace/setup.py", line 18, in
import pgi
File "/tmp/pip-install-h02jbxrr/pgi_0226537944d143c2a3c465eef28c8ace/pgi/ init.py", line 10, in
from .importer import require_version, get_required_version
File "/tmp/pip-install-h02jbxrr/pgi_0226537944d143c2a3c465eef28c8ace/pgi/importer.py", line 15, in
from .clib.gir import GIRepository
File "/tmp/pip-install-h02jbxrr/pgi_0226537944d143c2a3c465eef28c8ace/pgi/clib/gir/ init.py", line 9, in
from .gibaseinfo import GIInfoType, GIBaseInfo, GIAttributeIter
File "/tmp/pip-install-h02jbxrr/pgi_0226537944d143c2a3c465eef28c8ace/pgi/clib/gir/gibaseinfo.py", line 12, in
from .gitypelib import GITypelib
File "/tmp/pip-install-h02jbxrr/pgi_0226537944d143c2a3c465eef28c8ace/pgi/clib/gir/gitypelib.py", line 16, in
_gir = find_library("girepository-1.0")
File "/tmp/pip-install-h02jbxrr/pgi_0226537944d143c2a3c465eef28c8ace/pgi/clib/_utils.py", line 99, in find_library
_internal[name] = cdll.LoadLibrary(_so_mapping[name])
File "/root/miniconda3/envs/hwkj/lib/python3.10/ctypes/ init.py", line 452, in LoadLibrary
return self._dlltype(name)
File "/root/miniconda3/envs/hwkj/lib/python3.10/ctypes/ init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: /lib/x86_64-linux-gnu/libgirepository-1.0.so.1: undefined symbol: ffi_type_uint32, version LIBFFI_BASE_7.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
0
解决方案:
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libffi.so.7
apt install -y gobject-introspection
apt install -y libgirepository1.0-dev
0
笔记



天数智芯知识库系统 -V 5.2.6 -wcp