For example, if you 're using pip, instead of use git+ĮRROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. git folder) don 't contain the necessary metadata and will not work. Most other sources (such as GitHub 's tarballs, a git checkout without the. Make sure you 're either building from a fully intact git repository or PyPI tarballs. LookupError: setuptools-scm was unable to detect version for '/ '. _setup_distribution = dist = klass(attrs)įile "/usr/lib/python3/dist-packages/setuptools/dist.py ", line 447, in _init_įile "/usr/lib/python3.8/distutils/dist.py ", line 292, in _init_įile "/usr/lib/python3/dist-packages/setuptools/dist.py ", line 740, in finalize_optionsįile "/usr/lib/python3/dist-packages/setuptools/dist.py ", line 747, in _finalize_setup_keywordsįile "/tmp/pip-req-build-j9g8nbya/.eggs/setuptools_scm-6.3.2-p圓.8.egg/setuptools_scm/integration.py ", line 65, in version_keywordĭ = _get_version(config)įile "/tmp/pip-req-build-j9g8nbya/.eggs/setuptools_scm-6.3.2-p圓.8.egg/setuptools_scm/_init_.py ", line 177, in _get_versionįile "/tmp/pip-req-build-j9g8nbya/.eggs/setuptools_scm-6.3.2-p圓.8.egg/setuptools_scm/_init_.py ", line 135, in _do_parse
#Pip3 requirements txt install
$ pip3 install -user -r requirements.txtĮRROR: Command errored out with exit status 1:Ĭommand: /usr/bin/python3 -c 'import sys, setuptools, tokenize sys.argv = ' "' " '/tmp/pip-req-build-j9g8nbya/setup.py ' "' " ' _file_= ' "' " '/tmp/pip-req-build-j9g8nbya/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-req-build-j9g8nbya/pip-egg-infoįile "/tmp/pip-req-build-j9g8nbya/setup.py ", line 12, in įile "/usr/lib/python3/dist-packages/setuptools/_init_.py ", line 144, in setupįile "/usr/lib/python3.8/distutils/core.py ", line 108, in setup