Debian에 libboost-all-dev를 설치한 후 Python 오류가 발생합니다.

Debian에 libboost-all-dev를 설치한 후 Python 오류가 발생합니다.

내 친구가 공유 컴퓨터에 libboost 라이브러리를 설치하고 싶어했기 때문에 libboost-all-dev 1.49.0.1(Debian wheezy 컴퓨터)을 설치한 후 명령줄에서 "pydoc 모듈" 명령을 사용할 때 이 오류가 발생했습니다. 다음과 같은 오류가 발생합니다 -

root@debian:/usr/include/c++/4.7# pydoc modules

Please wait a moment while I gather a list of all available modules...

**[debian:49065] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 357
[debian:49065] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 230
[debian:49065] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../orte/runtime/orte_init.c at line 132
--------------------------------------------------------------------------
It looks like orte_init failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems.  This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):
  orte_ess_set_name failed
  --> Returned value A system-required executable either could not be found or was not executable by this user (-127) instead of ORTE_SUCCESS
--------------------------------------------------------------------------
--------------------------------------------------------------------------
It looks like MPI_INIT failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during MPI_INIT; some of which are due to configuration or environment
problems.  This failure appears to be an internal failure; here's some
additional information (which may only be relevant to an Open MPI
developer):
  ompi_mpi_init: orte_init failed
  --> Returned "A system-required executable either could not be found or was not executable by this user" (-127) instead of "Success" (0)
--------------------------------------------------------------------------
*** The MPI_Init() function was called before MPI_INIT was invoked.
*** This is disallowed by the MPI standard.
*** Your MPI job will now abort.
[debian:49065] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed!**
root@debian:/usr/include/c++/4.7# 

문제 조사를 시도한 후 다시 작동하도록 하기 위해 다음 항목을 제거했습니다.

openmpi common all 1.4.5-1
libibverbs-dev amd64 1.1.6-1                                   
libopenmpi-dev amd64 1.4.5-1                                   
mpi-default-dev amd64 1.0.1
libboost-mpi-python1.49.0

pydoc이 다시 작동하지만 제거한 패키지가 다른 문제를 일으킬 것이라고 가정합니까? 짐작할 수 있듯이 저는 C/C++ 프로그래머가 아닙니다. 그래서 내 질문은 '이게 나중에 상처를 줄까?'입니다. Python을 손상시키지 않고 이러한 패키지를 설치할 수 있는 방법이 있습니까?

답변1

문제에 데비안 버그가 있습니다http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691635- mpirun 바이너리를 사용할 수 없으므로 pydoc이 시작되지 않습니다.

관련 정보