gpt4 book ai didi

raspberry-pi - 我收到错误 importerror/lib/arm-linux-gnueabihf/libm.so.6 version glibc_2.29' not found 我该怎么办?

转载 作者:行者123 更新时间:2023-12-05 04:30:07 25 4
gpt4 key购买 nike

当我在 raspberry pi 3b+ 中运行我的 python 代码时,我得到:

importerror /lib/arm-linux-gnueabihf/libm.so.6 version glibc_2.29' notfound

错误我该怎么办?

#beginner

pi@raspberrypi:~/Desktop/Mirror-Interface-Auth/RaspberryPi-Module $ python3 main.py
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.7/site-packages/firebase_admin/firestore.py", line 22, in <module>
from google.cloud import firestore # pylint: disable=import-error,no-name-in-module
File "/home/pi/.local/lib/python3.7/site-packages/google/cloud/firestore/__init__.py", line 18, in <module>
from google.cloud.firestore_v1 import __version__
File "/home/pi/.local/lib/python3.7/site-packages/google/cloud/firestore_v1/__init__.py", line 30, in <module>
from google.cloud.firestore_v1._helpers import GeoPoint
File "/home/pi/.local/lib/python3.7/site-packages/google/cloud/firestore_v1/_helpers.py", line 22, in <module>
from google.api_core import gapic_v1
File "/home/pi/.local/lib/python3.7/site-packages/google/api_core/gapic_v1/__init__.py", line 16, in <module>
from google.api_core.gapic_v1 import config
File "/home/pi/.local/lib/python3.7/site-packages/google/api_

最佳答案

从这里thread ,似乎必须安装旧版本才能工作。

sudo pip3 uninstall grpcio 
sudo pip3 uninstall grpcio-status

然后

sudo pip3 install grpcio==1.44.0
sudo pip3 install grpcio-tools==1.44.0

执行此操作后,我的 Raspberry Pi Zero W 2 不会在导入包时失败。

关于raspberry-pi - 我收到错误 importerror/lib/arm-linux-gnueabihf/libm.so.6 version glibc_2.29' not found 我该怎么办?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72151205/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com