解决安装ConcurrentLogHandler报错error in ConcurrentLogHandler setup command: use_2to3 is invalid.

简介: 本文介绍了在Python环境下安装ConcurrentLogHandler时遇到的"use_2to3 is invalid"错误的解决方法,主要是通过降级setuptools到57.5.0版本来解决该问题。

1 环境

python3.7
使用以下命令安装时报错:error in ConcurrentLogHandler setup command: use_2to3 is invalid.</>

pip install ConcurrentLogHandler

2 解决办法

setuptools 工具包在58版本之后,废弃了use_2to3 方法。
卸载过高版本的setuptools。重新安装低版本的

pip uninstall setuptools

使用如下命令安装setuptools工具:

pip install setuptools==57.5.0

目录
相关文章
|
2月前
|
资源调度
安装项目的时候老是报错:Command failed.
安装项目的时候老是报错:Command failed.
|
5月前
|
Linux Go C语言
【ERROR】chaincode install failed with status: 500 - failed to invoke backing implementation xxx
【ERROR】chaincode install failed with status: 500 - failed to invoke backing implementation xxx
72 0
|
6月前
|
开发者 iOS开发
no identity found Command CodeSign failed with a nonzero exit code
no identity found Command CodeSign failed with a nonzero exit code
73 0
|
6月前
|
NoSQL C语言
vscode出现 ERROR: Unable to start debugging. Unexpected GDB output from command “-exec-run“.
vscode出现 ERROR: Unable to start debugging. Unexpected GDB output from command “-exec-run“.
1352 0
|
C语言
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
621 0
|
Perl
Command PhaseScriptExecution failed with a nonzero exit code问题解决
在某次pod install后,run项目出现以下错误
701 0
autoreconf: command not found
autoreconf: command not found
412 0
g++: command not found
g++: command not found
79 0
|
C++
ERROR: Command errored out with exit status 1:
ERROR: Command errored out with exit status 1:
299 0
ERROR: Command errored out with exit status 1:
|
jenkins 持续交付 图形学
报错Command XXXX/dsymutil failed with exit code 11
报错Command XXXX/dsymutil failed with exit code 11
305 0
报错Command XXXX/dsymutil failed with exit code 11