3
我在尝试安装和配置pyIpopt
。 Ipopt已经安装并且示例运行良好。导入pyIpopt时出错
从贝,当我做进口pyIpopt,我得到的错误:
ImportError: /***PATH***/libipopt.so.1: undefined symbol: MPI_Init
的pyIpopt Git项目的常见问题解答部分具有this提供这些类型的错误:
Do a Google search to find the library file, and add -lWhateverLibrary in the makefile of pyipopt.
我用google搜索了一下,发现这个:http://www.mcs.anl.gov/research/projects/mpi/www/www3/MPI_Init.html。 我不知道如何获得库或将其添加到生成文件...任何援助将不胜感激!