在 debian 上安装 libboost-all-dev 后出现 Python 错误

在 debian 上安装 libboost-all-dev 后出现 Python 错误

我的一个朋友想要在我们的共享计算机上安装 libboost 库,因此在安装 libboost-all-dev 1.49.0.1(一台 Debian wheezy 机器)后,在命令行上使用“pydoc module”命令时出现此错误。它会抛出以下错误——

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

您的问题存在一个 Debian 错误http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691635- mpirun 二进制文件不可用,这就是 pydoc 无法启动的原因。

相关内容