#1844·QUANTAXIS

因为setuptools导致无法安装quantaxis

Author: immortsCreated Feb 21, 2025Updated Feb 22, 2025

我的python3版本为3.12,pip版本为25.0.1 我在安装quantaxis时报如下错误 × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] error in demjson setup command: use_2to3 is invalid. [end of output] 搜解决方案是setuptools版本高于58.0,于是我降级,但是降级之后又报如下错误 × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] ERROR: Can not execute setup.py since setuptools is not available in the build environment. [end of output] 搜索解决方案是升级setuptools, 感觉陷入了死循环,不知道该如何解决