【发布时间】:2023-01-11 17:42:19
【问题描述】:
“protobuf 需要 Python '>=3.7' 但运行的 Python 是 3.6.4”
亲爱的社区, 我正在使用 CARLA 模拟器,为此我需要使用 python 3.6 和 protobuf。 当我想安装 'protobuf' 时,出现此错误“protobuf 需要 Python '>=3.7' 但运行的 Python 是 3.6.4” 有谁知道该怎么办?
【问题讨论】:
-
将您的 Python 更新到 >= 3.7,因为 CARLA 也应该与该版本兼容。 see under C.
-
Python 3.6 是out of support。 Protobuf 不是唯一不再支持它的包。升级到受支持的版本,最好是 3.10。
标签: python protocol-buffers carla