小编Mar*_*ina的帖子

RuntimeError:即使我已经有 3.10.6 版本,也需要 Python 版本 2.7 或 3.4+

我正在 Ubuntu 22.04 上按照LabelPC 的 GitHub 页面中的指南运行安装程序,但出现以下错误:

\n
Collecting absl-py==0.8.0\n  Using cached absl-py-0.8.0.tar.gz (102 kB)\n  Preparing metadata (setup.py) ... error\n  error: subprocess-exited-with-error\n  \n  \xc3\x97 python setup.py egg_info did not run successfully.\n  \xe2\x94\x82 exit code: 1\n  \xe2\x95\xb0\xe2\x94\x80> [6 lines of output]\n      Traceback (most recent call last):\n        File "<string>", line 2, in <module>\n        File "<pip-setuptools-caller>", line 34, in <module>\n        File "/tmp/pip-install-_yo1tcdy/absl-py_761c46388aa14bfaac46b6c57352037a/setup.py", line 34, in <module>\n          raise RuntimeError(\'Python version 2.7 or 3.4+ is required.\')\n      RuntimeError: Python version 2.7 or 3.4+ is required.\n …
Run Code Online (Sandbox Code Playgroud)

installation pip version python-3.x

7
推荐指数
1
解决办法
6195
查看次数

标签 统计

installation ×1

pip ×1

python-3.x ×1

version ×1