根据错误提示,pyminifier 包的安装遇到了问题,可能是因为缺少 2to3 工具导致的。可以尝试先安装 2to3 工具,然后再重新安装 pyminifier 包。具体可以按照以下步骤操作:

  1. 在命令行中输入以下命令安装 2to3 工具:

    pip install 2to3
    
  2. 安装完成后,再次运行以下命令重新安装 pyminifier 包:

    pip install -r requirements.txt
    

如果还有其他问题,可以尝试更新 pip 工具或者使用其他源进行安装。

pip install -r requirements.txt 错误:Python 3.X support requires the 2to3 tool

原文地址: https://www.cveoy.top/t/topic/lyTq 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录