ERROR: Command errored out with exit status 1: command: /data/wangzy-p/soft/anaconda3/envs/tf_1.14/bin/python -c import io, os, sys, setuptools, tokenize; sys.argv[0] /tmp/pip-install-lkidxq7i/demjson_1adc3de9a48e4e169cf993fa26319b82/setup.py __file__ /tmp/pip-install-lkidxq7i/demjson_1adc3de9a48e4e169cf993fa26319b82/setup.py f getattr(tokenize, open , open)(__file__) if os.path.exists(__file__) else io.StringIO( from setuptools import setup; setup() code f.read().replace( rn , n f.close();exec(compile(code, __file__, exec )) egg_info --egg-base /tmp/pip-pip-egg-info-ldwnwp11 cwd: /tmp/pip-install-lkidxq7i/demjson_1adc3de9a48e4e169cf993fa26319b82/ Complete output (1 lines): error in demjson setup command: use_2to3 is invalid.解决方案
当setuptools 58.0.0时,demjson的依赖安装失败,demjson已经发布demjson3解决这个问题,使用参考 https://pypi.org/project/demjson3



