You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Jetson Nano(Ubuntu 18.04)安装adafruit-blinka报错求助

解决Ubuntu 18.04 Jetson Nano上adafruit-blinka安装报错问题

报错module 'adafruit_platformdetect.constants.chips' has no attribute 'JH71x0'是因为新版本adafruit-platformdetect库引入了仅在较新系统支持的芯片定义,而Ubuntu 18.04默认的Python 3.6环境无法兼容这些新特性。以下是修复步骤:

  • 卸载现有冲突的库:

    pip3 uninstall adafruit-platformdetect adafruit-blinka -y
    
  • 更新pip至兼容Python 3.6的版本:

    pip3 install --upgrade pip==21.3.1
    

    注:pip 22及以上版本不再支持Python 3.6,需指定旧版本

  • 安装适配旧系统的adafruit-platformdetect版本:

    pip3 install adafruit-platformdetect==3.19.0
    
  • 安装匹配版本的adafruit-blinka:

    pip3 install adafruit-blinka==6.20.0
    

完成上述操作后,即可正常导入busio和board库控制PCA9685 PWM驱动器。

内容的提问来源于stack exchange,提问作者ferre Vandepoel

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.13 12:42:34