0

我正在尝试在安装了 32 位 Kali Linux 的 Raspberry Pi 上运行 InstaPy 机器人。一切都是最新的,升级的并且 libc6 也更新了。我的 GLIBC 版本是 2.32-4,根据 kali repo,这是最实际的版本。

$ ldd --version                                                        1 ⨯
ldd (Debian GLIBC 2.32-4) 2.32

$ apt-cache policy libc6
libc6:
  Installed: 2.32-4
  Candidate: 2.32-4
  Version table:
 *** 2.32-4 500
        500 http://http.kali.org/kali kali-rolling/main armhf Packages
        100 /var/lib/dpkg/status

但是,如果我运行机器人,我会得到这个:

$ python3 quickstart.py

Traceback (most recent call last):
  File "/home/kali/Downloads/instapy-quickstart-master/quickstart.py", line 2, in <module>
    from instapy import InstaPy
  File "/home/kali/.local/lib/python3.10/site-packages/instapy/__init__.py", line 6, in <module>
    from .instapy import InstaPy
  File "/home/kali/.local/lib/python3.10/site-packages/instapy/instapy.py", line 33, in <module>
    from .clarifai_util import check_image
  File "/home/kali/.local/lib/python3.10/site-packages/instapy/clarifai_util.py", line 3, in <module>
    from clarifai.rest import ClarifaiApp
  File "/home/kali/.local/lib/python3.10/site-packages/clarifai/rest/__init__.py", line 3, in <module>
    from clarifai.rest.client import ApiClient
  File "/home/kali/.local/lib/python3.10/site-packages/clarifai/rest/client.py", line 36, in <module>
    from clarifai.rest.grpc.proto.clarifai.api.endpoint_pb2_grpc import V2Stub
  File "/home/kali/.local/lib/python3.10/site-packages/clarifai/rest/grpc/proto/clarifai/api/endpoint_pb2_grpc.py", line 2, in <module>
    import grpc
  File "/home/kali/.local/lib/python3.10/site-packages/grpc/__init__.py", line 22, in <module>
    from grpc import _compression
  File "/home/kali/.local/lib/python3.10/site-packages/grpc/_compression.py", line 15, in <module>
    from grpc._cython import cygrpc
ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by /home/kali/.local/lib/python3.10/site-packages/grpc/_cython/cygrpc.cpython-310-arm-linux-gnueabihf.so)

我想保留 Kali,我已经习惯了。我想指出,我不是一个程序员,也不是一个一周前获得了他的第一个基于 linux 的操作系统的人。

4

1 回答 1

0

问题似乎是操作系统不兼容。我安装了 Raspbian,一切正常。

于 2021-11-06T22:20:10.460 回答