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

需基于Python3.11安装旧版本tox CLI的问题求助

问题:无法安装指定版本tox(适配Python3.11)

无法使用最新版本的tox,因为它会自动安装Python3.12,这给我带来了其他问题,因此我必须使用Python3.11。

Brew安装尝试失败

尝试通过brew安装旧版本tox失败:

% brew install tox@4.11.3
Warning: No available formula with the name "tox@4.11.3".
==> Searching for similarly named formulae and casks...
Error: No formulae or casks found for tox@4.11.3.

Tox官方安装方式无效

使用pip安装指定版本tox后,找不到tox命令行工具:
执行安装命令:

% python3 -m pip install --user tox==4.11.3

调用tox时提示:

% tox -e qa                          
zsh: command not found: tox

另外,尝试安装pipx-in-pipx也失败,执行命令:

python -m pip install pipx-in-pipx --user

出现以下错误:

note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pipx-in-pipx
  Running setup.py clean for pipx-in-pipx
Failed to build pipx-in-pipx
ERROR: Could not build wheels for pipx-in-pipx, which is required to install pyproject.toml-based projects

内容的提问来源于stack exchange,提问作者Sam Germain

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.06.27 08:48:11