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('"'"'\r\n'"'"', '"'"'\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.
Solution
When setuptools > 58.0.0
, the dependency installation of demjson
failed, demjson
has been published demjon3
to solve this problem, use reference https://pypi.org/project/demjson3
Read More:
- [Solved] Pygame Install Error: Command errored out with exit status 255: hg clone –noupdate -q https://bitbucket.o
- [Solved] Python install kenlm error: ERROR: Command errored out with exit status 1: …
- Python2.7 Pyinstaller Install Error: ERROR: Command errored out with exit status 1
- [Solved] Error when installing pycurl in MAC: Command ‘clang’ failed with exit status 1
- command ‘gcc’ failed with exit status 1 error while installing scrapy
- Mac install python_Levenshtein Error: error: command ‘clang‘ failed with exit status 1
- Command “/usr/bin/python -u -c “import setuptools, tokenize;__file__=‘/tmp/pip-cus9V0-build/setup.py
- [Solved] theano-GPU Error: pygpu.gpuarray.GpuArrayException: b‘cuMemAlloc: CUDA_ERROR_OUT_OF_MEMORY: out of memory
- [Solved] Command “python setup.py egg_info” failed with error code 1
- [Solved] error in REfO setup command: use_2to3 is invalid.
- [Solved] error in pycallgraph setup command: use_2to3 is invalid.
- Pip3 install Mysqlclient Error: Command “python setup.py egg_info“ failed with error
- [How to Solve] PyCharm Error: Non-zero exit code (2)
- [Solved] Pycham Error: non zero exit code (2)
- Pychar can’t connect to Python console, but it can run. Py file, and Anaconda’s command line can run Python command
- [How to Solve] Kernel died with exit code 1.
- [How to Solve] RuntimeError: CUDA out of memory.
- IndexError: list index out of range [How to Solve]
- How to Solve Error: RuntimeError CUDA out of memory
- [Solved] Ubuntu18.04 Install pyqt5 error: Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-92