The following error occurs when Python 3 installs demjson 2.2.4
error in demjson setup command: use_2to3 is invalid
Since demjson 2.2.4 is compatible with python2 and python3, some code needs to be converted when the installation environment is python3
Setuptools no longer supports 2to3 builds from version 58.0.0, so demjson 2.2.4 is no longer available after installation,
It can be solved by demoting the version of setuptools
pip install --upgrade setuptools==57.5.0
Similar Posts:
- Debian pip3 ImportError: cannot import name ‘IncompleteRead’ [How to Solve]
- ImportError No module named setuptools [How to Solve]
- How to install PIP in no module named setuptools
- Solve the problem of Command “python setup.py egg_info” failed with error code 1
- [Solved] No module named extern.six.moves
- ImportError: No module named pkg_resources [How to Solve]
- [Solved] Python: third-party library fire Install Error
- [Solved] pip and setuptools upgrade Error: Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-fH0Feg/pip/
- python mac install MySQLdb ModuleNotFoundError No module named ‘ConfigParser’
- [Solved] Python 3.8 Install pyaudio Error: pip3 install pyaudio error: Microsoft Visual C++ 14.0 or greater is required.