Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尽管我已经从设置 > 项目名 > python 解释器正确安装了 mpi4py 包,但我在 pycharm 终端中不断收到此错误。
我想在终端中使用的命令是 mpiexec -n 5 python filename.py
当我尝试使用 mpirun 而不是 mpiexec 时,我遇到了同样的错误。
我正在使用python的最新版本(3.10)和mpi4py最新版本(3.1.3)。