标签: raspbian-stretch

导入错误:/lib/arm-linux-gnueabihf/libc.so.6:找不到版本“GLIBC_2.28”

我正在使用谷歌的这个教程

https://codelabs.developers.google.com/codelabs/cloud-iot-core-overview/index.html?index=..%2F..index#2

python cloudiot_pubsub_example_server.py直到遇到这个“ ”步骤,我才能够正确执行。

执行上述步骤后,我收到以下错误:

ImportError:/lib/arm-linux-gnueabihf/libc.so.6:找不到版本“GLIBC_2.28”(/home/pi/Desktop/python-docs-samples/iot/api-client/end_to_end_example/venv 需要/lib/python3.7/site-packages/grpc/_cython/cygrpc.cpython-37m-arm-linux-gnueabihf.so

我还附上了错误截图以供参考

python google-cloud-platform raspberry-pi3 raspbian-stretch

8
推荐指数
1
解决办法
2万
查看次数

无法在 Raspberry pi 3 B 中安装 R 3.6

问题

大家好,我需要在我的 raspberry pi 3 B 中安装 R 软件(至少 3.5 但希望是 3.6)

我开始做通常的事情:

sudo apt-get update
sudo apt install r-base r-base-dev
Run Code Online (Sandbox Code Playgroud)

哪个有效,但我得到了 R 3.3

然后我尝试了我在这个网页中找到的东西,它可以正常工作:

sudo add-apt-repository 'deb http://cran.dcc.uchile.cl/bin/linux/debian stretch-cran35/'
Run Code Online (Sandbox Code Playgroud)

但我收到以下错误:

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/stretch
Run Code Online (Sandbox Code Playgroud)

我不确定我做错了什么 …

r raspbian raspberry-pi3 raspbian-stretch

5
推荐指数
1
解决办法
921
查看次数