Python 3 소스 코드 오류로 설치 중


0
$./configure --prefix=/usr/python --enable-shared CFLAGS=-fPIC
$make -j 4
#make install

마지막 단계에서이 정보를보고하십시오.

Exception:
Traceback (most recent call last):
  File "/tmp/tmp6dt7qois/pip-18.1-py2.py3-none-any.whl/pip/_internal/cli/base_command.py", line 143, in main
    status = self.run(options, args)
  File "/tmp/tmp6dt7qois/pip-18.1-py2.py3-none-any.whl/pip/_internal/commands/install.py", line 259, in run
    with self._build_session(options) as session:
  File "/tmp/tmp6dt7qois/pip-18.1-py2.py3-none-any.whl/pip/_internal/cli/base_command.py", line 79, in _build_session
    insecure_hosts=options.trusted_hosts,
  File "/tmp/tmp6dt7qois/pip-18.1-py2.py3-none-any.whl/pip/_internal/download.py", line 337, in __init__
    self.headers["User-Agent"] = user_agent()
  File "/tmp/tmp6dt7qois/pip-18.1-py2.py3-none-any.whl/pip/_internal/download.py", line 100, in user_agent
    zip(["name", "version", "id"], distro.linux_distribution()),
  File "/tmp/tmp6dt7qois/pip-18.1-py2.py3-none-any.whl/pip/_vendor/distro.py", line 120, in linux_distribution
    return _distro.linux_distribution(full_distribution_name)
  File "/tmp/tmp6dt7qois/pip-18.1-py2.py3-none-any.whl/pip/_vendor/distro.py", line 675, in linux_distribution
    self.version(),
  File "/tmp/tmp6dt7qois/pip-18.1-py2.py3-none-any.whl/pip/_vendor/distro.py", line 735, in version
    self.lsb_release_attr('release'),
  File "/tmp/tmp6dt7qois/pip-18.1-py2.py3-none-any.whl/pip/_vendor/distro.py", line 892, in lsb_release_attr
    return self._lsb_release_info.get(attribute, '')
  File "/tmp/tmp6dt7qois/pip-18.1-py2.py3-none-any.whl/pip/_vendor/distro.py", line 550, in __get__
    ret = obj.__dict__[self._fname] = self._f(obj)
  File "/tmp/tmp6dt7qois/pip-18.1-py2.py3-none-any.whl/pip/_vendor/distro.py", line 998, in _lsb_release_info
    stdout = subprocess.check_output(cmd, stderr=devnull)
  File "/home/sun/tools/Python-3.7.2/Lib/subprocess.py", line 395, in check_output
    **kwargs).stdout
  File "/home/sun/tools/Python-3.7.2/Lib/subprocess.py", line 487, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Makefile:1130: recipe for target 'install' failed
make: *** [install] Error 2

1
네가 뛰면 어떻게 될까? lsb_release -a 당신 시스템에? 다음의 결과는 무엇입니까? ls -l /usr/bin/python3? 그 정보를 제공해 주시면 제발 편집하다 귀하의 질문과 형식이 올바른지 확인하십시오.
slhck
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.