You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using pip 20.2.2 and setuptools 50.0.0 (released yesterday, August 30th)
Downgrading setuptools to 49.6.0 enabled me to workaround the issue.
Output:
Collecting chumpy
Downloading chumpy-0.70.tar.gz (50 kB)
ERROR: Command errored out with exit status 1:
command: /home/work/env/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-n2ix487y/chumpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-n2ix487y/chumpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-gprw26td
cwd: /tmp/pip-install-n2ix487y/chumpy/
Complete output (15 lines):
/home/work/env/lib/python3.6/site-packages/_distutils_hack/__init__.py:30: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-n2ix487y/chumpy/setup.py", line 56, in <module>
'Operating System :: POSIX :: Linux'
File "/home/work/env/lib/python3.6/site-packages/setuptools/_distutils/core.py", line 134, in setup
ok = dist.parse_command_line()
File "/home/work/env/lib/python3.6/site-packages/setuptools/_distutils/dist.py", line 484, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/home/work/env/lib/python3.6/site-packages/setuptools/dist.py", line 903, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/home/work/env/lib/python3.6/site-packages/setuptools/_distutils/dist.py", line 548, in _parse_command_opts
"command class %s must subclass Command" % cmd_class)
distutils.errors.DistutilsClassError: command class <class 'setuptools.command.egg_info.egg_info'> must subclass Command
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
Thanks, this certainly needs retesting with latest versions of pip/setuptools but I no longer work on the project and environment affected. I'm closing the issue as no longer relevant.
Using pip 20.2.2 and setuptools 50.0.0 (released yesterday, August 30th)
Downgrading setuptools to 49.6.0 enabled me to workaround the issue.
Output:
The text was updated successfully, but these errors were encountered: