python_etf icon indicating copy to clipboard operation
python_etf copied to clipboard

Use of setuptools>=58.0.2. Result: "error in erl_terms setup command: use_2to3 is invalid."

Open gorans2008 opened this issue 4 years ago • 2 comments

Hi I'm a new user. Will try to write this "Issue" to see if its a known problem or not. I got this "use_2to3 is invalid" problem and have not seen it earlier.

Works fine: setuptools==58.0.1 Failure: setuptools>=58.0.2

Result: "error in erl_terms setup command: use_2to3 is invalid."

Collecting erl_terms==0.1.5 Downloading erl_terms-0.1.5.tar.gz (2.3 kB) ERROR: Command errored out with exit status 1: command: <path removed in this Issue>/bin/python3.8 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-o2cty3xb/erl-terms_fce1dddf1a0c400abcbc10ff214b4974......../setup.py'"'"'; file='"'"'/tmp/pip-install-o2cty3xb/erl-terms_fce1dddf1a0c400abcbc10ff214b4974/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-2ejef31z cwd: /tmp/pip-install-o2cty3xb/erl-terms_fce1dddf1a0c400abcbc10ff214b4974/ Complete output (1 lines): error in erl_terms setup command: use_2to3 is invalid. ---------------------------------------- WARNING: Discarding .....(from https://pypi.org/simple/erl-terms/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement erl_terms==0.1.5 (from versions: 0.1.1, 0.1.3, 0.1.4, 0.1.5) ERROR: No matching distribution found for erl_terms==0.1.5

Regards gorans2008

gorans2008 avatar Sep 23 '21 11:09 gorans2008

erl_terms import decode works only if use of setuptools==57.5.0

gorans2008 avatar Oct 15 '21 11:10 gorans2008

This is impacting me, as well

tyler-jachetta avatar May 09 '22 22:05 tyler-jachetta