Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gorans2008 opened this issue Sep 23, 2021 · 2 comments

Comments

@gorans2008
Copy link

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: /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
Copy link
Author

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

@tyler-jachetta
Copy link

This is impacting me, as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants